rereplacenocase(mystring, "(<[a|p])", "\1 class=whatever ", "ALL") should do
it, haven't tested it though.

> -----Original Message-----
> From: Damian Watson [mailto:[EMAIL PROTECTED] 
> Sent: 19 October 2003 11:43
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Regex
> 
> 
> Hi,
> 
> I want a regex that replaces <p with <p class="whatever" and 
> <a with <a class="whatever" -- is it possible to do this in 
> one or do I have to run two expressions?
> 
> 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]

Reply via email to