[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] StrongED advanced search and replace.



On 24 Dec 2011  Tony Moore <old_coaster@xxxxxxxxxxx> wrote:

> On 22 Dec 2011, Peter Young <pnyoung@xxxxxxxxxxxx> wrote:
>> On 22 Dec 2011  Tony Moore <old_coaster@xxxxxxxxxxx> wrote:
>>> On 22 Dec 2011, Peter Young <pnyoung@xxxxxxxxxxxx> wrote:
>>
>>>> I'm sruggling with StrongEd's advanced search and replace. I have
>>>> a fairly large text file in which I want to remove a whole lot of
>>>> strings of the form [****], where the **** bit contains alphabetic
>>>> characters, upper and lower case, spaces and full stops.
>>
>>> Try    "[" { ? | ' ' | '.' }+ "]"
>>
>> Many thanks, Tony, but I think that just proves that the syntax of
>> advanced search passeth my understanding :-(

> It's not _that_ complicated!

>    "[" "]"   bookends the search for
>    { }+      one or more characters from
>    ?         the predefined set A-Za-z
>    |         or
>    ' '       the set comprising space
>    |         or
>    '.'       the set comprising full stop

Many thanks for this explanation, and sorry for the delay in replying; 
Christmas was busy here! I've now gone back to the Help file, and can 
now identify all of these things, though, to someone who didn't 
understand initially, I doubt if I would have found them without 
Tony's help. I've safely stored this message alongside StrongED for 
future reference.

With best wishes,

Peter.

-- 
Peter   \  /      zfc Lu     \     Prestbury, Cheltenham,  Glos. GL52
and      \/ __            __  \                              England.
family   / /  \ | | |\ | /  _  \      http://pnyoung.orpheusweb.co.uk
        /  \__/ \_/ | \| \__/   \______________ pnyoung@xxxxxxxxxxxx

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx