Free online tools for web developers and designers.
26 Tools available.
. | Any character (except newline) |
\d | Digit [0-9] |
\D | Non-digit |
\w | Word character [a-zA-Z0-9_] |
\W | Non-word character |
\s | Whitespace |
\S | Non-whitespace |
\n | Newline |
\t | Tab |
* | 0 or more (greedy) |
+ | 1 or more (greedy) |
? | 0 or 1 (optional) |
{n} | Exactly n times |
{n,} | n or more times |
{n,m} | Between n and m times |
*? | 0 or more (lazy) |
+? | 1 or more (lazy) |
(...) | Capturing group |
(?:...) | Non-capturing group |
(?<name>...) | Named capture group |
\1 | Backreference to group 1 |
\k<name> | Backreference to named group |
(...|...) | Alternation (OR) |
^ | Start of string/line |
$ | End of string/line |
\b | Word boundary |
\B | Non-word boundary |
(?=...) | Positive lookahead |
(?!...) | Negative lookahead |
(?<=...) | Positive lookbehind |
(?<!...) | Negative lookbehind |
[abc] | Match a, b, or c |
[^abc] | Match anything except a, b, c |
[a-z] | Range: a to z |
[A-Za-z] | Any letter |
[0-9] | Any digit |
g | Global - find all matches |
i | Case insensitive |
m | Multiline - ^ $ match lines |
s | Dotall - . matches newlines |
u | Unicode support |
y | Sticky - match at position |