I need help on regular expression building. There is a line of Javascript:
navigator.userAgent.match(/Firefox\/3./)
Now it matches only Firefox 3.x. What I need is an expression that will match any Firefox version from 3rd. Meaning Firefox 3, 4, 5, ect.
Any suggestions are welcome!
You can’t do it properly with regex alone. But you can do it with regex + some code:
note: As for why you can’t do it properly with regex alone, consider Firefox/10.0