Hacker News new | ask | show | jobs
by raxxorraxor 809 days ago
I just gave it "IT-2024-4413 separate prefix, year and number"

and it gave me: ^([A-Z]{2})-(\d{4})-(\d{4})$

Then "IT-2024-4413 give me the year in this ID"

and it gave me: \b\d{4}\b

Nice and usefull.