Do you use regular expressions and if so what do you use them for? It's been a while since I messed with any sort of javascript since I am learning PHP but I have learned in the past about regexp and I remember it being a tad confusing.
If i'm not mistaken the regexp would now look for any digits with numbers 0-9 and it must contain 1 number. Of course since nothing is defined it won't do anything but this is generally how it works correct?
- Code:
re = new RegExp("\d[0-9]1+");
If i'm not mistaken the regexp would now look for any digits with numbers 0-9 and it must contain 1 number. Of course since nothing is defined it won't do anything but this is generally how it works correct?