Develop a script using a regular expression to form the current path to the file from the page address (instead of the file name with the .asp extension, put /). For example, instead of ggg / gl / h.asp should be ggg / gl /.
Develop a script using a regular expression to form the current path to the file from the page address (instead of the file name with the .asp extension, put /). For example, instead of ggg / gl / h.asp should be ggg / gl /.
Source: https://ru.stackoverflow.com/questions/602386/
All Articles