To check if a string url
starts with regexpUrl
, Do url.startsWith(regexpUrl)
1
solved What is a good regular expression to match if 2 URLs start in the same way?
To check if a string url
starts with regexpUrl
, Do url.startsWith(regexpUrl)
1
solved What is a good regular expression to match if 2 URLs start in the same way?