I have started using RegexBuddy and have made a code snippet template for use when cutting and pasting between RegexBuddy and MS. Maybe someone else find this useful? It's super simple but saves some seconds each time cutting and pasting....
Copy and paste below text to a txt-file. Save it as "MacroScheduler.rbsct" and place it in your RegexBuddy folder...
Code: Select all
RegexBuddy Source Code Template
You can edit this template with the RegexBuddy Source Code Template Editor that is part of RegexBuddy itself
Please see http://www.regexbuddy.com/ for more information
2
Macro Scheduler
jgsoft
jgsoft
asis
Groovy.jgcscs
//
/*
*/
Jimmy Westberg
[email protected]
http://www.janirator.com
%
%
%
%
%
%
%
%
%
%
%
%
0
4
FixParameter
%
RegExPattern
PATTERN_STRING
ReplaceString
REPLACE_STRING
Text
STRING_TO_LOOK_AT
2
Search and collect findings through a string
1
0
0
1
3
-1
0
0
0
0
4
//RegEx-snippet from RegExBuddy (please observe that MS RegEx is CAsE iNSEnSiTIve)
Let>%PARAM1%=%REGEX%
Let>%PARAM2%=
RegEx>%PARAM4%%PARAM1%%PARAM4%,%PARAM4%%PARAM2%%PARAM4%,0,FOUND_MATCHES,NUMBER_OF_MATCHES,0,,
Search and replace through a string
0
1
0
1
3
2
0
0
0
0
5
//RegEx-snippet from RegExBuddy (please observe that MS RegEx is CAsE iNSEnSiTIve)
Let>%PARAM1%=%REGEX%
Let>%PARAM2%=
Let>%PARAM3%=%REPLACEMENT%
RegEx>%PARAM4%%PARAM1%%PARAM4%,%PARAM4%%PARAM2%%PARAM4%,0,FOUND_MATCHES,NUMBER_OF_MATCHES,1,%PARAM4%%PARAM3%%PARAM4%,REPLACE_RESULT