Wednesday, September 26, 2007

TextPad Regular Expression


If you use LoadRunner for creating load test scripts and TextPad to view/modify its parameters file AND you get a file with 3000 test records to be used for parameterizing the script with blank spaces before and after the comma delimiter that need to be trimmed, this is the regular expression to use in TextPad to search for all such occurrences and replacing them with a comma instead.

<my other option was to write a java program to trim the blank spaces which thinking about it...would have been much easier & more reusable>