Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

regular expression code containing letters and numbers

am trying to build a regex code to allow such texts

iGuKiscdvMrrSCaKGdmePT5ASu6gRJBHoB
iPokbyeGPuF46B27dAY3fRZAkKdDh8WbNr
iJhZPxQp7fWQCBvmyTFLAFs9Q8kWWEJHfi
iKs7Kv9gaLCoJVXvnPkqf4peXFqZrCG1G4
iJRXgmaiwQ5r6NnxDcFgT2yBpjtWB1y5vM

starts with letter i and contain numbers and letters a-z A-z with no special characters
what is the correct regex

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Looks like you’re looking for the regex

^i[A-za-z0-9]+$

Where the ^ means that the line is starting, the i is literal, [A-za-z0-9]+ includes at least one upper and lowercase alphanumeric character(s), and the $ means that the line is ending.

You can learn more about this and test the regex easily at https://regex101.com/r/7Mzxt2/1

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading