RegJex

Regular Expression Tester

Perl Compatible Regular Expression
Test Strings

RegJex is an online regular expression tester that uses PHP's preg_match function.

Metacharacters
Character Meaning
^Indicates the start of a string
$ Indicates the end of a string
. Any one character
| Alternative
\ Escape the succeeding character
() Make group
[] Define class
Quantifiers
Character Meaning
? 0 or 1
* 0 or more
+ 1 or more
{x} Exactly x occurrences
{x, y} Between x and y (inclusive)
{x,} At least x occurrences
A project by Matt Johnson
Comments? Questions?