T
toth.usenet
hi,
i am trying to find a way to delete all text/characters in a paragraph
up to (and including) the last occurence of a backslash within that
paragraph, throughout the document. using the GNU regexp i would
select something like "^.*\\" and delete it.
so from a paragraph like
Subject\heading\section1\part2\topic3
only the following should remain
topic3
i tried to get this using search/replace but i failed with the unknown
number of characters which are to be replaced and the beginning of the
paragraph. please also note that some paragraphs have automatic
numbering but i assume that this should not make any difference as the
numbers should stay as they are.
any help on this is appreciated.
cheers,
thomas
i am trying to find a way to delete all text/characters in a paragraph
up to (and including) the last occurence of a backslash within that
paragraph, throughout the document. using the GNU regexp i would
select something like "^.*\\" and delete it.
so from a paragraph like
Subject\heading\section1\part2\topic3
only the following should remain
topic3
i tried to get this using search/replace but i failed with the unknown
number of characters which are to be replaced and the beginning of the
paragraph. please also note that some paragraphs have automatic
numbering but i assume that this should not make any difference as the
numbers should stay as they are.
any help on this is appreciated.
cheers,
thomas