Regex Tester
Type a pattern and test string to see matches highlighted live, with capture groups broken out below. Runs entirely in your browser using JavaScript's regex engine.
Email address
URL
IPv4 address
US phone number
Hex color
ISO date
Slug
Leading/trailing whitespace