Regex Generator
Build regular expressions from simple rules and test them live.
How to use the Regex Generator
- 1Pick a preset or build the pattern from simple parts.
- 2Paste sample text to see every match highlighted live.
- 3Copy the pattern as a literal or as a string for your code.