you could probably do it with preprocess_regexps but why? Are you sure want to remove all links? You're going to get missing text, e.g.,
As we (link)argued in this column last month(link), the current situation is...
becomes
As we, the current situation is...
If you want to remove certain links, then target them, for example
remove_tags= [ dict(name='a',attrs={'href':re.compile(r'doublecli ck\.net',re.I)}) ]
to remove doubleclick links
|