Hi Guys, I'm trying to write a small beginner level script which should read a string followed by 2 digit number only once. If the 2 digit number repeats more than once after a space then it should be ignored.
However, my regular expression doesn't seem to work :(
Can somebody help me correct the same?
Here is my regular expression:
/\b(\s*([a-zA-Z ]+)\s((-?[0-9]){1,2})\b)/g
Thanks
In reply to Help with regular expression by heman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |