Forum Discussion

Nick_Matthews's avatar
Aug 21, 2008

Remove external links

Hi,

 

 

I was just wondering if it was possible to search and remove any links that are external to my site?

 

 

So I would want to search and remove anything that doesn't match say www.mydomain.com but I would need to also remove the whole url link. ie "

 

 

Is anything like this possible?

 

 

Thanks in advanced for the help.

 

 

 

  • Hi,

     

     

    You can do this with the STREAM::expression command: Click here

     

     

    Since to do so you'll need to use regular expression to specify the pattern you should have a look at this articile too: Click here