Quick reference
\ddigit,\wword character,\swhitespace,.any character*0 or more,+1 or more,?optional,{2,5}between 2 and 5^start,$end,\bword boundary(…)capture group,(?<name>…)named group,(?:…)non-capturing group(?=…)lookahead,(?<=…)lookbehind
Safe execution
Some patterns such as (a+)+$ can take exponential time. This tester runs the expression in a background worker and stops it after one second, so your browser tab never freezes.
Note: this tool uses JavaScript syntax. Most patterns also work in Python, Java and C#, but some features differ.