loopcod
Home/Tools/Regex Tester

Regex Tester

Test and debug regular expressions with real-time matching. Includes presets, cheat sheet, and group capture visualization.

Regular Expression
Enter your regex pattern
//
Test Text
Enter text to test against your regex
Common Patterns
Click to load a preset
Tips

• Use the global (g) flag to find all matches, not just the first one

• Enable ignore case (i) for case-insensitive matching

Multiline (m) makes ^ and $ match start/end of each line

Dotall (s) makes . match newlines too

• Use parentheses () to create capture groups

• Escape special characters with backslash: \\. \\* \\+