How to delete Registry entry with Regular Expression
Hi, You may use REG DELETE KeyName [/v ValueName | /va] /va delete all values under this key. Thanks, Swapnil Prajapati
August 30th, 2012 5:48am

Hello, I would like to delete 2 registry entries: HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@java.com/JavaPlugin,version=10.6.2HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@java.com/DTPlugin,version=10.6.2 I can do that with a .reg file or with the reg.exe delete command from the command line for this specific version. The problem is that we have to delete this entry for many PCs and the have different versions: @java.com/DTPlugin,version=X.Y.Z Is there any way I can delete them with reg.exe command or .reg file using some kind of regular expression like reg delete hklm\SOFTWARE\MozillaPlugins\@java.com* where the "*" would be any string after that. Would appreciate any help on this. Thx, hugo
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2012 4:20pm

Can you try exporting the entries to a text file on the fly , use some string manipulation tools to pick the required entries and then use them to perform the delete?Janaki Hariharan
August 31st, 2012 1:46am

Hi, You may use REG DELETE KeyName [/v ValueName | /va] /va delete all values under this key. Thanks, Swapnil Prajapati
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2012 5:30am

Hi, I suppose these function can be done by an script. I hope you would find an answer at the Windows Script forum. .Your Name TechNet Community Support
August 31st, 2012 11:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics