15
rated 0 times
[
21]
[
6]
/ answers: 1 / hits: 30659
/ 11 Years ago, thu, august 1, 2013, 12:00:00
I want to test if a string can match a pattern in javascript
problem is there is a random string in the middle
pattern: account/os/some_random_string/call_back
so a string look like below will match
var mystring = account/os/1234567/call_back
thanks
More From » regex