Sandbox
A free pattern playground. Edit the test text, then type patterns and watch them match.
This interactive environment needs JavaScript. Everything you need to read is on this page, and the solution works the same way for real.
Starting Regex…
editor
⌘↵ to save · Esc to cancel