| Home | “Easily debug ‘regular expressions’ for your sophisticated ‘search and replace’ operations. Includes 9 examples.” |

Utility: Search and Replace using “Regular Expressions”

(Tested using IE7, IE8, IE11 and Firefox 25)

Example #1

1. Click the  button, above.

2. Click .

Example #2

1. Click .

2. Click .

3. Type a period (“.”) in the search string text box.

4. Click . (All of the text disappears because a period means “match anything” and since the replacement text box is empty, everything was replaced by nothing.)

Example #3 (Same as example #2 except for one significant additional step.

1. Click .

2. Click .

3. Type a period (“.”) in the search string text box.

4. Click .

5. Click . (This time only the periods are deleted because the backslash indicates that the period should only match periods.)

For complete documentation on “Regular Expression” search string syntax, see http:// ashutoshsaxena.tripod.com/jstut/quickstart/ch080.html.

* The  button converts an “ordinary text” search string into the required, “Regular Expression” search string. Simply manually enter or “copy/paste” the search string, including any special characters or <Enter> characters, into the “The Search String” text box, and then click . (The converted search string replaces the unconverted string.)
Questions, comments and suggestions are welcome.
Howard Charles Best ()

| Home | THIS WEB PAGE URL: http://LLBest.com/?P=1t |