RegEx for matching alternating case letters
Posted
by Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2010-04-17T20:28:51Z
Indexed on
2010/04/17
20:33 UTC
Read the original article
Hit count: 321
regex
I would like to detect the following sequences:
a
aA
aAa
aAaA
...
where a~[a-z] and A~[A-Z], the case alternates and the first letter is always lower-case.
Thanks,
Tom
© Stack Overflow or respective owner