On Tue, Apr 24, 2007 at 01:06:29PM -0400, The Herbs Place wrote: > Hi Ronald, > > Thanks for your willingness to help. However, I figured it out so now I > will provide the answer that I used. > > I used the lookahead regex. This helped me to not match something that has > http: or / when those matches came up I then just added my > http://www.domain.com/ to the matches. This gave me a complete absolute > link. > > Here is the regex I used: > <a href=""(?!http:|/)([^""]+)"" > > Here is the replacement I used: > <a href=""http://www.mydomain.com/\1""
Great! Nice job figuring it out, and thanks for letting us know what you came up with. Ronald -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
