- see footer for list info -<
On 30/06/06, Simon Baynes <[EMAIL PROTECTED]> wrote:
<cfscript>
test = "[email [EMAIL PROTECTED]/email]";
test2 = reReplaceNoCase(test,
"\[email\s([^\]]*)\]([^\]]*)\[/email\]", '<a
href="mailto:\1">\2</a>');
</cfscript>
<cfoutput>#test2#</cfoutput>
Ah yes.... back references...
Splendid! Thanks Simon.
Stephen
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<