Home » Questions » Computers [ Ask a new question ]

How can I search the windows registry with regular expressions?

How can I search the windows registry with regular expressions?

Is there a tool or method with which I can search the windows registry with regular expressions?

Asked by: Guest | Views: 282
Total answers/comments: 3
bert [Entry]

"The free RegAlyzer utility searches by substring, wildcard (*,?), boolean (AND OR NOT), and regular expression:

RegAlyzer is a tool to browse and
change the registry. It was created
because of a few features we missed in
the original regedit tool, from
support for exotic value types over
background and regular expression
search to better bookmarks, displaying
.reg files in the accustomed style and
a history view."
bert [Entry]

"If it's just a matter of searching it without changing anything (no Search & Replace), export the whole registry to a .reg file and use your favorite text editor that supports regular expressions (Notepad++, Textpad, PSPad, ...).

To export the whole registry, right-click the Computer node in Registry Editor and select Export.

Watch out, the exported file can be huge. I just tried and the file was 250 MB big.

Encoding update: On WinXP, cygwin's file utility reports the exported data as Unicode text, UTF-16, little-endian."
bert [Entry]

I use a tool named Regscanner by Nirsoft. It can search registry (with or without Regex) and returns results, you can click matches to open it in Regedit.