JavaScript Regular Expressions (RegEx) Tester

Gecko Technologies Resources Tech Info JavaScript RegEx Tester

JavaScript Regular Expression (RegEx) Tester

A quick tester for JavaScript regular expressions. Fill in the appropriate fields below to test regular expressions using the JavaScript RegExp object/engine.

Enter the "needle" (regex expression to match):
Enter the replacement string:
Enter the "haystack" (string to search):

Ignore case (make the regex match case-insensitive)
Global matching (match all, not just the first one)
Multi-line matching (a match can span lines)

Results:

THIS INFORMATION IS PROVIDED ON AN "AS IS" BASIS AND YOU ACCEPT ALL RISKS FOR ITS USE. MYTECHNOLOGYCENTER.COM AND GECKO TECHNOLOGIES MAKE NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO ANY MATTER WHATSOEVER. IN NO EVENT SHALL MYTECHNOLOGYCENTER.COM OR GECKO TECHNOLOGIES BE LIABLE TO YOU OR ANY OTHER PARTY FOR ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES.