Common Regex Pattern Library
Ready-made patterns for things people look up again and again. Click to copy.
Advertisement
About this tool
These cover the common cases well but aren't exhaustive — email and phone validation in particular have many valid edge cases these simpler patterns won't catch.