FYI: The purpose was to rip out the HTML buttons of a report when
converting to PDF....

Neil's RegExp did what I needed as I could guarantee that there would
only be one set on the page that surrounded the HTML code for the
buttons.  (Calling the report via CFHTTP so got it all in a variable to
run the RegExp on)

Ben & Jerry's questions do make me quite inquisitive as I am a bit
fearful of RegExp but I do realise that they could help me code sooooo
much better... 

unfortunately... just dont have the time to learn it at the moment as
the Man has me working like crazy...

Anyway Cheers for your help everyone

PS anyone got any good resouces for learning RegExp?

-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: 26 March 2003 15:21
To: CF-Talk
Subject: RE: RegExp Help


Can the <ud_stripout> tags contain other tags?
Will there ever be more than one set in the page?
Will the tags ever take any parameters ie <ud_stripout class="dead">?


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

: -----Original Message-----
: From: Jerry Johnson [mailto:[EMAIL PROTECTED]
: Sent: Wednesday, March 26, 2003 10:03 AM
: To: CF-Talk
: Subject: Re: RegExp Help
:
:
: What version of CF?
: How long can the string be you are stripping it from?
: By strip out, do you want the string returned without these tags
: in it? (As if you replaced them with "")
: Are the these tags ever nested?
:
: Jerry Johnson
:
:
: >>> [EMAIL PROTECTED] 03/26/03 10:03AM >>>
: 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...
:
: TaInAdvance
:
: 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com

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

Reply via email to