How to delete all after last /. I have a file with urls.
http://www.enworld.org/forum/member.php?1-Morrus&language=uk
http://weld.in.ua/forum/member.php/1-%D
Follow these steps:
Notepad++.Find what textbox, add Regular expression :[^/]+$Replace with textbox empty(In screenshot that is my mouse cursor).Regular Expression radio button at the bottom
Replace All button.You are done..!! Your final output will be as below:
http://www.enworld.org/forum/
http://weld.in.ua/forum/member.php/
Note :
Regular Expression [^/]+$ matches at least one of (anything not a slash) followed by end of the string: