dev-tool.org
local
/tools/Regex tester
Search tools…K
.*

Regex tester

Live regular expression evaluation with match highlighting

//
0 matches
Test String
1
2
3
Contact us at support@dev-tool.org or sales@company.co.uk for billing. For technical support, email dev-team@internal-server.net. Call +1-555-0199 for urgent queries.
Matches
No matches
Select a match on the left to inspect capture groups
Regex Cheatsheet
Anchors
^Start of string / line (m)
$End of string / line (m)
\bWord boundary
\BNon-word boundary
Character Classes
.Any except newline (or all with s)
\dDigit [0-9]
\DNon-digit
\wWord [a-zA-Z0-9_]
\WNon-word character
\sWhitespace
\SNon-whitespace
Sets
[abc]Any of a, b, c
[^abc]Not a, b, c
[a-z]Character range
[a-zA-Z]Union of ranges
Quantifiers
*0 or more (greedy)
+1 or more (greedy)
?0 or 1
{n}Exactly n
{n,}n or more
{n,m}Between n and m
*? +? ??Lazy (non-greedy)
Groups
(...)Capture group
(?:...)Non-capturing group
(?<n>...)Named capture group
(?=...)Positive lookahead
(?!...)Negative lookahead
(?<=...)Positive lookbehind
(?<!...)Negative lookbehind
Escapes
\nNewline
\tTab
\rCarriage return
\\Literal backslash
\. \* \+ \? \( \) \[ \{Escaped specials
Sponsor / Ad Banner Slot
Developer sponsorship slot
Documentation & FAQs(Regex tester guide)