merge pdf

Regex Tester

Test and debug regular expressions live — with match highlighting and group capture

/
/
Common Patterns — click to load

Quick Regex Reference

TokenMeaning
.Any character except newline
*0 or more
+1 or more
?0 or 1 (optional)
{n,m}Between n and m times
^Start of string/line
$End of string/line
|OR
TokenMeaning
\dDigit [0-9]
\wWord character [a-zA-Z0-9_]
\sWhitespace
\bWord boundary
[abc]Character class
[^abc]Negated class
(abc)Capture group
(?:abc)Non-capturing group