Find last backslash

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
gcotterl
Posts: 252
Joined: Wed Mar 10, 2004 8:43 pm
Location: Riverside California USA

Find last backslash

Post by gcotterl »

How can I find the LAST backslash (i.e., \ ) in each row
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post 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.
Post Reply