How to use Regex Tester
- Enter your regular expression in the pattern field.
- Enter or paste sample text to test against.
- View matches and groups in real time.
Example
Input
Your input or data here
Output
Result will appear here after running the tool
Frequently asked questions
- What regex flavor is supported?
- JavaScript's RegExp is used (ECMAScript). Some PCRE features may not be available.
- How do I escape special characters?
- In a string, backslash-escape characters like . * + ? ( ) [ ]. In the tool, follow JavaScript regex rules.