Thanks Bobby and Che!

On Mon, Mar 15, 2010 at 6:00 AM, Che Vilnonis <ch...@asitv.com> wrote:

>
> Carol, I used...
>
> reReplaceNoCase(myHTML, "<table.*?>.*?</table>", "", "ALL")>
>
> -----Original Message-----
> From: Bobby Hartsfield [mailto:bo...@acoderslife.com]
> Sent: Saturday, March 13, 2010 10:01 AM
> To: cf-talk
> Subject: RE: Easy Regex question?
>
>
> Rereplace(html, "<table>.*?</table>", "", "all')
>
> Or
>
> Rereplace(html, "<table>[^>]+</table>", "", "all')
>
>
> -----Original Message-----
> From: Carol F [mailto:cfcn...@gmail.com]
> Sent: Saturday, March 13, 2010 1:59 AM
> To: cf-talk
> Subject: Re: Easy Regex question?
>
>
> I tried it on:
>   <html><head></head><body>text<table>whatever</table></body></html>
> but it's returning this string in an array
>   <table>whatever</table>
> instead of
>   <html><head></head><body>text<table>whatever</table></body></html>
>
> I guess I can do
>   arrTable = reMatchNoCase('<table>[^>]+</table>', myString);
>   for(a=1; a <= arrayLen(arrTable); a++){
>       myString = replace(myString, arrTable[a], "");
>   }
>
> but is there an easier way?
>
>
> On Fri, Mar 12, 2010 at 8:29 PM, andy matthews
> <li...@commadelimited.com>wrote:
>
> >
> > Should be able to do this:
> >
> > REMatchNoCase('<table>[^>]+</table>', myString)
> >
> >
> > -----Original Message-----
> > From: Carol F [mailto:cfcn...@gmail.com]
> > Sent: Friday, March 12, 2010 6:52 PM
> > To: cf-talk
> > Subject: Re: Easy Regex question?
> >
> >
> > do you mind sharing the solution please?
> >
> > On Fri, Mar 12, 2010 at 1:28 PM, Che Vilnonis <ch...@asitv.com> wrote:
> >
> > >
> > > Scratch that... I figured it out!
> > >
> > > -----Original Message-----
> > > From: Che Vilnonis [mailto:ch...@asitv.com]
> > > Sent: Friday, March 12, 2010 4:25 PM
> > > To: 'cf-talk@houseoffusion.com'
> > > Subject: Easy Regex question?
> > >
> > > This should be easy.
> > > How do I remove all text between <table></table> tags from a larger
> > string?
> > >
> > > Thanks, Che
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331756
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to