javascript - match 2 urls with localhost -
i'm having hardest time javascript regex, can't figure out how match url:
http://localhost:11111/#!/quote/18283
and
http://www.myurl.com/#!/quote/23834
with same regex.
i don't understand regex rules well.
http://[\w\d\.:]+/#!/quote/\d{5}
- without other context. don't know negative cases are. parts of urls important, etc, etc.
Comments
Post a Comment