|Long time no posting! I've a regex question!|
HI there people,
Crikey, feels like ages since i've posted on here, hope as everyone is having a good time :)
This checks for - AP/PD123/13, how can I change this to add an either or type operator in there, sort of like this:-
I'm sure that this is correct, but it's not reacting to the change.
Thanks in advance.
^[A-Z]/ it does NOT match two letters, only one.
"two or three digits" is done with
Hi there g1smd,
Sorry, that was down to sloppy copy n pasting!
Thanks for the solution there too, I'm not brilliant at doing regex & I thought as the | would work like it does in C. There I go assuming again lol!
Thanks for the welcome back there too.
would work, but the general rule is "when something repeats, stuff can be combined", hence
I've just tested it, and it works great; I opted for the 'short-hand' version, and I've now combind an array of possible combinations down to 4 opposed to 8.
Thanks for the help once again!
There was a longer thread about combining things only yesterday or the day before.
Might be some extra clues in there too!