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-%D0%90%D0%B4%D0%BC%D0%B8%D0%BD?langid=5
Need a solution for notepad++
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 bottomReplace 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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With