TerraTome Regular Expression Tester
Live testing environment for debugging complex regex patterns with real-time match highlighting
Advertisement
Ad Space 1 (728x90)
AdSense code would be placed hereRegex Usage Tips
- Use
^to match the start of a string and$for the end - Use
.to match any single character (except newline) - Use
*for zero or more,+for one or more,?for zero or one - Group patterns with parentheses
()and use|for alternation - Escape special characters with a backslash:
\.\*\\ - Use flags like 'i' for case-insensitive matching and 'g' for global search
Try the example pattern: \b\w+@\w+\.\w{2,}\b to match email addresses
Advertisement
Ad Space 2 (300x250)
AdSense code would be placed here
Results
Enter a regex pattern and test string, then click "Test Regex"
Your highlighted matches will appear here...
Error message will appear here if any issues occur
Advertisement
Ad Space 3 (728x90)
AdSense code would be placed hereShare this:
- Click to share on Facebook (Opens in new window) Facebook
- Click to share on X (Opens in new window) X
- Click to share on Telegram (Opens in new window) Telegram
- Click to share on WhatsApp (Opens in new window) WhatsApp
- Click to share on LinkedIn (Opens in new window) LinkedIn
- Click to email a link to a friend (Opens in new window) Email
- Click to share on Bluesky (Opens in new window) Bluesky
- Click to share on Reddit (Opens in new window) Reddit
- Click to share on Threads (Opens in new window) Threads