something like:
REReplace(longstring, ([A-Za-z]{1,1}[0-9]{2,2}), "<a href
='whatever.htm?combo=\1'>\1</a>", "ALL")
Duncan Cumming
IT Manager
http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600
Creative solutions in a technical world
----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------
"Damian Watson"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
ign.co.uk> cc:
Subject: [ cf-dev ] RegEx I
assume
18/08/2003 14:52
Please respond to dev
Hi,
Say I have a long string of text inside of which I have character
combinations of A12 (one letter, two numerals). I want to turn any
alpha-numeric combos of this nature into a link so for instance into: <a
href="whatever.htm?combo=A12">A12</a>.
How'd I do that?
Thanks
d
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]