Just be aware that if you have a page like

Between <ud_stripout>the waves</ud_stripout> and the shore <ud_stripout>
there's a boat</ud_stripout> here.

You'll get
Between  here.
not
Between  and the shore  here.

Because that regex will strip /everything/ between the /first/ open and the
/last/ close.  Which is why some of us are asking wierd questions about it.
:-)


--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: David Collie (itndac) [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 26, 2003 10:25 AM
: To: CF-Talk
: Subject: RE: RegExp Help
:
:
: Hi Neil,  Thanks for getting back to me...
:
: Your RegExp has done the trick.... well under it and really need to
: brush up on my RegExp skills but am always put off by the horrible ones
: you see getting used!
:
: Much appreciated anyway :-)
:
:
:
: -----Original Message-----
: From: Neil Middleton [mailto:[EMAIL PROTECTED]
: Sent: 26 March 2003 15:01
: To: CF-Talk
: Subject: RE: RegExp Help
:
:
: <ud_stripout>.*</ud_stripout>
:
: I think, if not, nevermind...
:
: Neil
:
:
: > Can anyone help me with the RegExp for stripping out content
: > between two
: > defined tags... ie
: >
: > <ud_stripout>
: >     ...
: >     Content to strip out
: >     ...
: > </ud_stripout>
: >
: > I would need it to strip out all the content and the tags
: > themselves as
: > well...
:
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to