regex - Sequence in regular expression -
how can write regular look meets next requirements: 1) must 1 sequence 7 digits 2) edd or final word somewhere
this should trick :
#[0-9]{7}(edd|final)?# //edd or final optional
or
#[0-9]{7}(edd|final)+# //if edd or final must there
regex
No comments:
Post a Comment