regex - Regular Expression for specific numbers -
i trying pull out of study 2 specific numbers 0103 , 0101. how do this?
0103
0101
^.*\b(0101|0103)\b.*$
it gave me 0101.
this regex should work:
\b010[13]\b
regex
No comments:
Post a Comment