You can certainly do it with a regex, but it might be more efficient to 
do it with a pair or replace() calls.  Regex is inherently expensive.

If you want to do it with regex, Jacob's suggestion should work.

--Ben Doom

Scott Stewart wrote:
> I’ve got a variable which is a document descriptor (literally, journal, book
> etc.) in some cases it can contain a slash (/) or a semicolon.
> 
> What I need to do within the REReplace is find every instance of a slash or
> a semicolon and put a space before it and a space after it..
> 
>  
> 
> Thanks
> 
>  
> 
> sas
> 
>  
> 
> 
> 
> 
> 
> Scott Stewart
> ColdFusion Developer 
> 
> HYPERLINK
> "http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=7241+Jillspring+Ct&csz=Sprin
> gfield%2C+VA.+22152&country=us" \n7241 Jillspring Ct
> Springfield, VA. 22152 
> 
> 
> HYPERLINK "mailto:[EMAIL PROTECTED]" [EMAIL PROTECTED]
> HYPERLINK "http://www.sstwebworks.com"; \nhttp://www.sstwebworks.com 
> 
> 
> tel: 
> mobile: 
> 
> HYPERLINK
> "http://www.plaxo.com/click_to_call?src=jj_signature&To=703-912-3076&Email=s
> [EMAIL PROTECTED]" \n703-912-3076 
> HYPERLINK
> "http://www.plaxo.com/click_to_call?src=jj_signature&To=703-220-2835&Email=s
> [EMAIL PROTECTED]" \n703-220-2835 
> 
>  
> 
> 
> 
> HYPERLINK
> "https://www.plaxo.com/add_me?u=25770055805&src=client_sig_212_1_card_join&i
> nvite=1" \nAlways have my latest info
> 
> HYPERLINK "http://www.plaxo.com/signature?src=client_sig_212_1_card_sig";
> \nWant a signature like this?
> 
>  
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274091
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to