Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Regex issue

tsoct
Tera Guru

I need the input to begin with 'IT' followed by 25 characters.

When I tested IT60X0542811101000000123456 for regex ^IT\[0-9A-Z]{25}$, no matches were detected.

What might be the reason?

 

1 ACCEPTED SOLUTION

vermaamit16
Kilo Patron

Hi @tsoct 

 

Can you please try with the below regex :

^IT[A-Z0-9]{25}$

 

Thanks and Regards

Amit Verma

Thanks and Regards
Amit Verma

View solution in original post

10 REPLIES 10

vermaamit16
Kilo Patron

Hi @tsoct 

 

Can you please try with the below regex :

^IT[A-Z0-9]{25}$

 

Thanks and Regards

Amit Verma

Thanks and Regards
Amit Verma