I got a Javascript which is receiving a url, for example product1_product2_product3_.html. When the url is received I want to split it in to three variables, var1 which is product1, var2 which is product2 and so on.
I figure this can be solved by using regular expressions? Anybody know how?
Thanks in advance for any answers.
I figure this can be solved by using regular expressions? Anybody know how?
Thanks in advance for any answers.







