RegEx Tester
Test and debug your Regular Expressions online.
- #1elloIndex: 1
- #2worldIndex: 6
- #3hisIndex: 14
- #4isIndex: 18
- #5aIndex: 21
- #6testIndex: 23
- #7stringIndex: 28
Regex Quick Reference
\d\w\s^$.*+?(abc)a|b[abc]Click a pattern to append it to your regex.
Regular Expression (RegEx) Tester
Regular expressions are powerful but tricky to get right. This tool allows you to write, test, and debug your RegEx patterns against text in real-time.
Powered by the JavaScript RegEx engine, it is perfect for:
- Validating email formats
- Extracting phone numbers
- Scraping data patterns
- Cleaning up text
Matches are highlighted instantly, and captured groups are displayed clearly to help you refine your logic.
Usage
- 1
Enter your RegEx pattern in the top box (e.g., `/[a-z]+/`).
- 2
Enter your test string in the bottom box.
- 3
View matches highlighted instantly.
- 4
Don't forget to set flags like 'Global (g)' or 'Case Insensitive (i)'.