Does anyone here know regexp? →[More:]
I want to find instances when the letter Y appears in a non-consecutive manner.
examples:
NNNYNNYYYNN
NNYNYNNNNNN
and so on.
I have never done regexp before and am having a hard time figuring out a formula.
What I want is something like
*Y*Y* (although this is not completely right)
There can be zero or more characters before the first Y.
The * between the Ys should match at least one character that is not a Y.
And there can be 0 or more characters after the last Y.
help?