阅读背景:

正则表达式检测相同的字符超过五次?

来源:互联网 

I'm trying to figure out how to write a regex that can detect if in my string, any character is repeated more than five times consecutively? For example it wouldn't detect "hello", but it would detect "helloooooooooo".I'm trying to figure out how to write a regex t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: