I want to find a series of chars in a string, but I dont know, how to write a regex, please help.
I have to find in a string occurrances of 3 or more same chars in a row.
IE:
"4123478888"// four same chars starts at inex 6

or

"321222468"//3 same chars start at index 3

or
"55555698752111"5same chars start at index 0 3 same chars start at index 11

and so on...

please help.I appreciate of any sugestion. Thx.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.