Re: Search and replace clip help
- --- In firstname.lastname@example.org, "plhpr" <ph@...> wrote:
>No surprise! This was meant for use with the 'Search | Replace' command since - so far - you didn't talk of a clip. Also you are posting to the Basic Group and not to the Clip Group.
> Thanks for this but nothing seems to work.
So if you try do it by clip, try a non-Regex-solution...
^!Replace " a\" >> "\" WSA
^!Replace " b\" >> "\" WSA
No 'T' option needed here. NT will match it anyway because the search string is containing word-delimiting characters.
Maybe John's proposal is more exact since it anchors the string at end of line. So you may use that pattern in case it accords with the structure of your text.
- Many thanks to all - it works now.
--- In email@example.com, "Alex Plantema" <alex.plantema@...> wrote:
> Op maandag 20 mei 2013 12:34 schreef plhpr:
> > Thanks for this but nothing seems to work.
> > I want to change the a\ and b\ and c\ etc in this context below:-
> > First of the Summer Wine - ]Cyril Gerber Fine Art & Compass[ - 2 b\
> > Fred Cuming RA - ]Adam (Bath)[ - 13 a\
> > into this:-
> > First of the Summer Wine - ]Cyril Gerber Fine Art & Compass[ - 2\
> > Fred Cuming RA - ]Adam (Bath)[ - 13\
> > I have tried all suggestions. One method worked once and then failed
> > on the next pass and didn't work again.
> > ie:
> > ^!Replace ' a\' '\' WSTA
> > ^!Replace ' b\' '\' WSTA
> The format is wrong. You can use either
> ^!Replace " a\" >> "\"' WSTA
> with spaces between the elements, or
> ^!Replace a\ \ WSTA
> with tabs between the elements.