tags:

views:

118

answers:

3

Ok, so I'm an idiot.

So I was working on a regex that took way to long to craft. After perfecting it, I upgraded my work machine with a blazing fast hard drive and realized that I never saved the regex anywhere and simply used RegexBuddy's autosave to store it. Dumb dumb dumb.

I sent a copy of the regex to a coworker but now he can't find it (or the record of our communication). My best hope of finding the regex is to find it in RegexBuddy on the old hard drive. RegexBuddy automatically saves whatever you were working on each time you close it. I've done some preliminary searches to try to determine where it actually saves that working data but I'm having no success.

This question is the result of my dumb behavior but I thought it was a good chance to finally ask a question here.

+3  A: 

In general, check out the great free tool Process Monitor. It's an easy way to learn where apps store all their random data.

Frank Krueger
A: 

It depends on the OS, of cause, but on Windows I would guess the application data directory. I can't remember the path on xp but on vista it's something like this:

C:\Users\ user name \AppData\

And then it would probably be here:

C:\Users\ user name \AppData\roaming

Morten Christiansen
+5  A: 
Mark Biek
Your observations are correct. The binary registry values are actually XML data. The regex itself is human-readable between the XML tags.
Jan Goyvaerts