TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AI-powered regular expression generator

3 pointsby spragueabout 1 year ago

1 comment

raxxorraxorabout 1 year ago
I just gave it &quot;IT-2024-4413 separate prefix, year and number&quot;<p>and it gave me: ^([A-Z]{2})-(\d{4})-(\d{4})$<p>Then &quot;IT-2024-4413 give me the year in this ID&quot;<p>and it gave me: \b\d{4}\b<p>Nice and usefull.