Regex

Performs a search and replace operation using PHP Perl-compatible regex (see example). This tool requires that you know the regex syntax.

Input form

Write a regex search pattern in the first box (without delimiters) and the replace pattern in the second. For example, "(colo)u?(r)" and "$1$2" without quotations will replace any instance of "colour" with "color". Enter the text you want to execute the patterns on in the third box.







Extended options





This tool is written and copyright by Jesse Plamondon-Willard (Pathoschild). You may freely use, distribute, and modify this script in any way and for any purpose, so long as you cite the above name as original author.