Hi
I want to check if every words of the current URL path is match with my expected string.
The current URL http://www.example.com/category/product/htc-desire
var path = location.pathname;
the path must match every words of "/category/product/htc-desire"
我感谢我如何能够做到这一点。