This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16526|Reply: 0

[Source] Regular Expression Online Auto Generator

[Copy link]
Posted on 4/16/2015 11:20:39 PM | | |

The power of regular expressions is known to be one of the biggest headaches for programmers. I recently discovered a website, txt2re, that automatically generates regular expressions for you and is flexible, so I recommend it here.
Website: http://www.txt2re.com/index-java.php3

Step 1: Enter the string you want to convert to a regular expression and click "show matches"
Step 2, do you see the colorful grid below? It is an automatically generated N regular matching possibilities. For example, 1999-12-1 can be matched as number-number-number, or yyyymmdd (year time). You can click on the corresponding flower grid according to your needs
(Note that at least one click is required to proceed to the next step)
Finally, select your programming language (Java, C, Python, etc.) and you will see the generated regular expression!




Previous:asp.net how do I get all controls to show in play?
Next:The text box only allows numbers to be entered
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com