lundi 1 janvier 2018

Searching a pattern in String

I have one string object which contain multiple words. From this String I need to find a 10 values Alpha-Numeric value which is in capital letters.

The pattern can vary like It can be other 10 Values (Which contain any Character and Digit)

EX:

My Name is batman. I am B012HIOL8L.

OutPut: B012HIOL8L

Aucun commentaire:

Enregistrer un commentaire