How to use regex lookahead to limit the total length of input string

后端 未结 3 1677
离开以前
离开以前 2021-01-05 04:54

I have this regular expression and want to add the rule which limit the total length is no more than 15 chars. I saw some lookahead examples but they\'re not quite clear. Ca

3条回答
提交回复
热议问题