RegExBuddy code snippet template

Anything Really. Just keep it clean!

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1023
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

RegExBuddy code snippet template

Post by Grovkillen » Thu Aug 29, 2013 8:56 am

Hi,

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
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1350
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Fri Aug 30, 2013 12:11 am

Thanks for sharing, Grovkillen. I've been meaning to take a look at RegexBuddy, so this could come in handy. :)
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts