[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] StrongED advanced search and replace.
- To: StrongEd@xxxxxxxxxxxxxx
- Subject: Re: [StrongED] StrongED advanced search and replace.
- From: Tony Moore <old_coaster@xxxxxxxxxxx>
- Date: Sat, 24 Dec 2011 10:02:51 GMT
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1324721267; bh=s8GZOoj3KQONvUAahDg0stCWjOmd0eCK65mntNp0z2k=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Subject:Message-ID:References:In-Reply-To:User-Agent:MIME-Version:Content-Type; b=I1fPFI826uOCbTirtYHt0cNtno7AmFsHWrZTx8cD+f24GvhiBya1W8fWJ0QK+Lm1V8JH+COd0a3NWEVfWfSyNk2KcNj94KuwAukQ8lomCFqqP6JuUPqggi+G/2OZCuhBb3fJS9EvWzbacrh1rltj1QKMAIUm2GYJzEubGPR5/W8=
- Envelope-to: StrongEd@xxxxxxxxxxxxxx
- In-reply-to: <ef99894652.old_coaster@old_coaster.yahoo.co.uk>
- List-id: RISC OS StrongED mailing list
- References: <f3ea914552.pnyoung@pnyoung.ormail.co.uk> <a3c0a34552.old_coaster@old_coaster.yahoo.co.uk> <8c57c14552.pnyoung@pnyoung.ormail.co.uk>
- Reply-to: StrongED@xxxxxxxxxxxxxx
- User-agent: Messenger-Pro/6.03 (MsgServe/6.00) (RISC-OS/6.20)
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
Tony
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx