regex - regular expression to find the longest recurring character sequence in a line -
how write regular expression find longest recurring character sequence in line?
you can following regular expression find repeating characters:
(.)\1+
but should use programming language determine longest match.
Comments
Post a Comment