hey guys,

not ever really used regex much except for really simple cases.  But
have a question about it now.

Lets say I have the following sql code:

SELECT * FROM sometable WHERE this = 'this string'

and I want to replace the single quotes AND its contents with the same
things only surrounded by <strong> tags.  so take the string above,
look for single quotes and make it like this:

SELECT * FROM sometable WHERE this = <strong>'this string'</strong>

(thats not exactly what I want to do, but close enough.)

how would you go about doing this with rereplacenocase?  is it even
possible?  all examples I see are looking for a regex that can have
wildcards in the middle etc, but how to take what you find and wrap
it?

thanks,
--
Ryan Guill
BlueEyesDevelopment
[EMAIL PROTECTED]
www.ryanguill.com
(270) 217.2399
got google talk?  Chat me at [EMAIL PROTECTED]

The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com

www.ryanguill.com/
The Roman Empire: www.ryanguill.com/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218842
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to