Description
iHateRegex is a regular expression playground for understanding, testing and sharing regex. You write a pattern and see live matches against your test text, along with a validity check and a railroad diagram that shows the pattern's structure, drawn in the browser. Notes sit beside each pattern to explain the tricky parts, and you can share a workspace with a link that your team can open. The site has a library of 29 practical patterns, such as usernames, passwords, simple and complicated email addresses, phone numbers, IPv4 and IPv6 addresses, dates, ASCII, URLs, US Social Security numbers, semantic versions, UUIDs, Jira issue keys, latitude and longitude, and MAC addresses. Each library entry gives a short description, the pattern with its flags, and search tags. There is also a cheatsheet and a community section. The project's code is public on GitHub.…
Highlights
- Live matching against your test text
- Railroad diagrams of each pattern
- Notes beside every pattern
- Shareable team workspace link
- 29 practical regex patterns
Ratings & Reviews
No ratings yet
Be the first to rate iHateRegex.
People also visit
iHateRegex FAQ
What is iHateRegex?
It is a regex playground where you can write, test and understand regular expressions. It shows live matches and a diagram of how each pattern works.
What is in the library?
The library has 29 patterns for common needs, including usernames, passwords, email addresses, phone numbers, IP addresses, dates, URLs, semantic versions, UUIDs and MAC addresses. Each has a description and flags.
Can I share a pattern?
Yes. You can share a workspace with a single link that your whole team can open.
Is the code open?
Yes. The project is published on GitHub.
What are the best iHateRegex alternatives?
Popular alternatives to iHateRegex include Regex Hub, regex101 and RegExr. See all iHateRegex alternatives






