How can I find repeated letters with a Perl regex?

后端 未结 11 1317
孤独总比滥情好
孤独总比滥情好 2020-12-09 03:18

I am looking for a regex that will find repeating letters. So any letter twice or more, for example:

booooooot or abbott

I won\'t know the

11条回答
  •  不知归路
    2020-12-09 03:57

    FYI, aside from RegExBuddy, a real handy free site for testing regular expressions is RegExr at gskinner.com. Handles ([[:alpha:]])(\1+) nicely.

提交回复
热议问题