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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -