Test JavaScript regular expressions with live match highlighting, capture groups, flags and a library of common patterns — all in real time.
\d digit · \w word char · \s whitespace · [a-z] range · [^abc] not · . any char* 0+ · + 1+ · ? 0 or 1 · {3} exactly 3 · {2,5} 2 to 5 · *? lazy^ start · $ end · \b word boundary · (abc) group · (?:abc) non-capture · a|b or