Regular Expression ~ match length

感謝張睪大大@0@



^([a-z_]{2})/([a-z_]+)/events

match
ca/los_angeles/events


^([a-z_]{2})/([a-z_]+)/events

didn't match
caa/los_angeles/events


Regex Tester
http://regexpal.com/

沒有留言:

發佈留言