in reply to Regex to only show 2nd character of the same character in a string
I'm having trouble figuring out just what you want. Given the string 'abccabbcabc', just what output do you need?
Also, can you elaborate on just how you differentiate between the first character and the second character of 'the same character in a string' given that they are the same character? E.g., are you looking for the positions of each second character?
Update: Clarified who 'you' refers to in this reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex to only show 2nd character of the same character in a string
by salva (Canon) on Aug 23, 2010 at 07:06 UTC | |
by AnomalousMonk (Archbishop) on Aug 23, 2010 at 12:57 UTC | |
by ikegami (Patriarch) on Aug 23, 2010 at 14:55 UTC | |
by locked_user sundialsvc4 (Abbot) on Aug 23, 2010 at 13:06 UTC |