TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
AI-powered regular expression generator
3 points
by
sprague
about 1 year ago
1 comment
raxxorraxor
about 1 year ago
I just gave it "IT-2024-4413 separate prefix, year and number"<p>and it gave me: ^([A-Z]{2})-(\d{4})-(\d{4})$<p>Then "IT-2024-4413 give me the year in this ID"<p>and it gave me: \b\d{4}\b<p>Nice and usefull.