naijacoder said:
Thx Hans for the reply
I tried testing [0-9]{9}[NP] at :-
http://www.regexlib.com/RETester.aspx
But it seem not to work..
i tried 123456789P and 123456789N
but didn't match
About if i want both capital and small letters p and n
to match
Thanks
I tried there and it *did* match:
- ignore the "external data source" fields
- enter the text (123456789N) in the first textarea
- enter the RE ([0-9]{9}[NP]) in the second textarea (below the title "regular expression")
- hit the "execute" button
- the "matches" table below shows it matched entirely
for both capitals and small letters, change [NP] to [NnPp]
Hans Kesting