Starting out inreg expressions..

Starting out inreg expressions..

am 29.11.2004 05:00:47 von 127.0.0.1

X-No-Archive: yes

I'm starting out in Regular Expressions and need help with something, how do
I say:

(This is just a banner ad and I want to search for the tag in any files:)



anything between here as it can be a different banner code but the two tags
above are always present.



Example, the banner code changes:





As a Reg. Exp ?

Re: Starting out inreg expressions..

am 29.11.2004 08:31:18 von Toby Inkster

127.0.0.1 wrote:

> I'm starting out in Regular Expressions and need help with something, how do
> I say:
>
>
>
> anything between here as it can be a different banner code but the two tags
> above are always present.
>
>

Assuming Perl-compatible regular expressions, personally I'd match on:

/.*?/s

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact