removing dots and slashes regex - non relative

nqkgskgmgr

New Member
how could I remove the trailing slashes and dots from a non root-relative path. For instance, \[code\]../../../somefile/here/\[/code\] (independently on how deep it is) so I just get \[code\]/somefile/here/\[/code\]
 
Back
Top