← .* Regex Tester & Reference

πŸ“– Cheat Sheet
/
Test Text 0 chars
0
βœ… Pattern OK πŸ“Š 0 matches
.Any character (except newline unless s flag)
\wWord character [a-zA-Z0-9_]
\WNon-word character
\dDigit [0-9]
\DNon-digit
\sWhitespace [ \t\n\r\f\v]
\SNon-whitespace
\bWord boundary
\BNon-word boundary
^Start of string / line (m flag)
$End of string / line (m flag)
*0 or more
+1 or more
?0 or 1 (optional)
{n,m}Quantifier: n to m times
(x)Capturing group
(?:x)Non-capturing group
(?=x)Lookahead
(?!x)Negative lookahead
(?<=x)Lookbehind
(?<!x)Negative lookbehind
[abc]Character class
[^abc]Negated character class
\|Alternation (OR)
\1, \2...Backreference

Related Tools

JSON Formatter & Validator β€” Format, Validate, Minify JSON Base64 Encoder & Decoder β€” Encode Text to Base64 Online UUID Generator β€” Generate UUID v4 Identifiers Online Lorem Ipsum Generator β€” Generate Placeholder Text JWT Decoder β€” Decode JSON Web Tokens Online Diff Checker β€” Compare Text Differences Online