开发者

help with regex pattern for @123.ynynyn

开发者 https://www.devze.com 2023-04-03 19:33 出处:网络
please help with this regex pattern @123.ynynyn The pattern starts with a symbol @, just 1 character long

please help with this regex pattern @123.ynynyn

The pattern starts with a symbol @, just 1 character long

follow by numbers only, at least 1 character

follow by a period (.), just 1 character long

follow by开发者_Python百科 a 6 character long letter string of only y or n

TIA


How about:

@\d+\.[yn]{6}        

Hope that helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号