Instructions
There are three fields above: a text area, containing text to be searched; a regular expression, which will be used to search the text; and the options for the m// operator (such as 'i' for 'ignore case').
You may change the text to be searched to any of a number of common data sets using the buttons at the top of the page. You may also edit the text or add additional lines.
When you click on the button marked "Try It!", the regular expression you have entered will be tested against each of the lines in the text to be searched. Lines which match the regular expression are shown in green, lines which do not match are shown in red, and lines which cause an error are shown in orange.
This script uses Perl for regular expression evaluation. The Perl regular expression syntax may be slightly different from other languages and utilities that use regular expressions (such as the grep command).
Version 0.04 by Chris Tyler. Your feedback is appreciated. (The Perl source code for this script is available).