>- see footer for list info -<
Thanks Peter, works perfectly
You have now contributed to the FREE railo hosting :-)

Russ

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Peter Boughton
Sent: 29 June 2010 15:11
To: Coldfusion Development
Subject: Re: [CF-Dev] regex help

>- see footer for list info -<
Try this:

<host regexp="(?:www\.)?(.+)">


The (?: ) bit says "group the content, but don't capture the group",
and the ? afterwards makes it optional (but preferred).

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<



_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to