Regular Expression Testing Tool

This free service is provided for information and troubleshooting. We do not warrant the results below.

This tool is using PHP version 5.3.28 and the preg_match function. For more information on regular expressions, Wikipedia is a good place to start. For more information on PHP implementations of regular expressions, visit

If you need to convert a regular string to regex-friendly format, check out our Regex-To-String Converter


up to 255 characters

Data to apply expression to:

up to 1000 characters




The quick brown fox jumps over the lazy dog.


Complete match at offset 10: brown fox jumps over the lazy dog
Match 1, Offset 10: brown
Match 2, Offset 40: dog

If you find this tool useful, please consider linking to us.