jeudi 27 novembre 2014

Reg Ex: Match numbers after specific string


Vote count:

0




Using Reg Ex (in this case Javascript's implementation) is it possible to match the numbers after a particular string:


In the following example match only the numbers that follow any string of 'airplane' and not the numbers following any other string.



airplane737
train232
motorbike995
car66
airplane747


Many thanks in advance for help


D



asked 37 secs ago







Reg Ex: Match numbers after specific string

Aucun commentaire:

Enregistrer un commentaire