AllTools.Solutions
Developer Tools

Regex Tester

Test a pattern against real strings and get a plain-English, component-by-component breakdown of what it does.

Enter a regex pattern to get started.

Quick reference for common patterns

\d — any digit · \w — any letter, digit, or underscore · \s — whitespace

+ — one or more · * — zero or more · ? — zero or one

^ — start of string · $ — end of string

[abc] — matches any one of a, b, or c · [^abc] — matches anything except a, b, or c

The most common regex bug isn't a wrong pattern — it's forgetting that . matches any character unless escaped as \., which is why “match a period” patterns often accidentally match everything.

More from Developer Tools

View all →

Enjoyed this? Share it with a friend