Hello. The site used the regulars for the url of the form http://domen.com/themename/pagename.html
For pagename, the regular form ([a-z0-9 \ - /] +) was used. It was assumed that pagename will consist of English letters, numbers, a dash, maybe a slash. However, now it is necessary to rewrite it with the assumption that pagename can be in any language of the world - English, Russian, French, Spanish, etc. Tell me how best to make a regular expression. PHP version on server 5.6.24
(?<!href=[\'"])
and(?![^<]*+</a>)
and get the required regular schedule - Visman