Topic: Delete character preceding matched string (1 of 1), Read 128 times
Conf: Search and Replace
From: George Christman
Date: Tuesday, September 05, 2000 12:21 PM

FYI, in response to a common question:

How can I search for a string and delete some preceding text ?

The following example will find
three upper case characters in a row and delete the character preceding it.

Select Reg-exp in the search/replace dialog
box, then use the following search and replace strings:

Search: .{[A-Z][A-Z][A-Z]}
Replace: \1