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.29 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 php.net.

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

Expression:


up to 255 characters

Data to apply expression to:


up to 1000 characters

Expression

(b...n).*(do[a-z]?)

Data

The quick brown fox jumps over the lazy dog.

Match(es)

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.