do Paul's suggestion, then ReplaceNoCase(yourstring, "http://http://";,
"http://";, "ALL")  to get rid of all the duplicates.


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!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                            
                    "Giles                                                             
                            
                    Roadnight"           To:     <[EMAIL PROTECTED]>                   
                  
                    <[EMAIL PROTECTED]        cc:                                      
                                 
                    ght.name>            Subject:     RE: [ cf-dev ] regex Quickie     
                            
                                                                                       
                            
                    02/06/2003                                                         
                            
                    16:59                                                              
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    dev                                                                
                            
                                                                                       
                            
                                                                                       
                            



That'll work on all src's though. I only want to add the server name if
there is no http:// in the link already.

-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED]
Sent: 02 June 2003 17:01
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] regex Quickie

>
> Hi Guys.
>
> Coulds someone let me know how to replace
> src=" OR src=' not (src="http or src='http)
> with something using regex.

REReplace(aString, "src=(""|')", "replacement", "all")

Bear in mind that it'll be "" (as you'll be escaping the quote)

HTH



--
** 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]






-- 
** 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