I just included it in my latest script.
I used the standard Perl syntax to extract a Firefox profile name.
Here is what I used:
Code: Select all
RegEx>^.* (\w.*).default,%vProfileName.txt%,0,match,num,1,$1,vProfileName
From this: [8]03/02/09 10:21 PM _____ _______ h8ojjv0f.default is the current profile
I was able to use my existing RegEx knowledge. Did not have to use VBScript, did not have to use EasyPatterns, did not have to use MidStr and Position. I was able to use the Replace feature with the grouping parenthesis.
I also suspect that as people start to use it, there will be many queries about the correct syntaxes to use to solve problems. Let me suggest that you might set up a separate Forum just to deal with RegEx.
Nice addition, lots of future use, thanks again.
----------------
Edited on 3/2/09 to add match,num, to the example. Although it worked with missing parameters, it caused a minor log file problem.