开发者

help with regex pattern for @123.ynynyn

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜