This site uses cookies to improve your user experience.
Regex Generator
Creating regular expressions is easy again!
We have shortened the input to 1000 characters to speed up
processing.
Give us an example of the text you want
to
match using your regex. We will provide you with some ideas how to build a regular
expression.
Click on the marked suggestions to select them for your regular
expression.
When this option is checked, the generated regular expression will only contain
the patterns that you selected in step 2. Otherwise, all characters between the
patterns will be copied.
Would you like the generated regular expression to match all the input?
By default this page will generate character classes like [A-Za-z] for upper and
lower cases. Activating this box will only generate lower case character classes.
abcde
Mark the parts of the regular expression you want to capture.
Capturing groups
Hover the generated regular expression to see more
information.
Please note that these code samples are automatically generated. They are not guaranteed to work.
If you find a syntax error, please submit a bug
report.
Share
To share the current page content and settings, use the following link: