Toolmanor

Regex generator

Get ready-made regular expressions for email, phone numbers, dates, URLs, strong passwords and more, then copy code for JavaScript, Python, PHP, Go, Java or C#.

How to generate a regex

  1. Pick the pattern you need, for example Email or Phone number.
  2. Adjust the options: match the whole text or find inside it, date format, length…
  3. Choose your programming language, copy the regex or the sample code and try it on your own data.

Frequently asked questions

Related tools