I know this can be done in notepad++, but I'm not finding the right replace syntax.
I want to remove the last part of this sentence, starting from ?
:
http://sportnaslava.info/wiki/index.php?title=User:CisBlakeman861
so that it becomes:
http://sportnaslava.info/wiki/index.php
Best Answer
The regexp is
\?.*$
So we search something starting with question mark and lasts to the end of line. Don't forget to set "search mode" to "regular expression"