Page 1 of 1

Find last backslash

Posted: Tue Nov 12, 2019 8:56 pm
by gcotterl
How can I find the LAST backslash (i.e., \ ) in each row

Posted: Tue Nov 12, 2019 10:02 pm
by ben_josephs
Search | Find... (<F5>):
Find what: .*\K\\

[X] Regular expression
\K means: don't include in the match of the whole regex whatever the subexpression to my left matched.