What do you do when a project needs regular expressions? Open Baidu directly search “mobile phone number regular expression”, copy to the IDE run a look to see if the character does not meet their expectations?

Is it often because can not find the right expression, deeply hated.

Here’s an open source project called I Hate Regex. The open source author hates regex and decided to get a regular expression memo and develop a regular expression search site.

For example, if you search for username, the regular expression for username is displayed.

Regular expressions for mobile phone numbers:

Regular expressions for email addresses, and matching strings are displayed in the test area.

It can not only show what the regular expression of a scene is, but also visually display the regular expression.

And explain the syntax of the re.

Project: github.com/geongeorge/…

Website: ihateregex. IO/expr/phone

If you want to see the historical project recommendations, you have included the open source project in the GitHub project, welcome Star.

Open source: github.com/Wechat-ggGi…


Recommended reading

1. What are the fun projects on GitHub?

2. Recommend a NetEase cloud player with high appearance level

3. Baidu Cloud High imitation project based on Spring Boot

4. Check baidu’s 4 awesome open source projects