please - help with regex

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2009
Posts: 7
Reputation: Pachrant is an unknown quantity at this point 
Solved Threads: 0
Pachrant Pachrant is offline Offline
Newbie Poster

please - help with regex

 
0
  #1
May 30th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1,909
Reputation: ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of 
Solved Threads: 274
ddanbe's Avatar
ddanbe ddanbe is offline Offline
Posting Virtuoso

Re: please - help with regex

 
0
  #2
May 31st, 2009
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC