|
Posted by JJ Harrison on 11/28/05 04:02
On Mon, 28 Nov 2005 09:58:34 +1100, dorayme <dorayme@optusnet.com.au>
wrote:
>> From: JJ Harrison <noodle_snacks@mailinator.com>
>>
>> Are there any asp scripts or programs availible that will strip
>> selected html tags and remove attributes (such as style info etc)
>> automatically availible?
>
>
>I use BBEdit text editor and the grep pattern search and replace
>function (or indeed often the regular search and replace), will
>work for all files in any selected folder...). Powerful stuff,
>handle with care.
I am not very confident with regular expressions, can anyone suggest a
good guide or some expressions that would remove all tags except
<p>,<br>,<ul>,<li>,<b>,<em>,<i>,<strong> and remove all remaining
attriubtes from the existing tags?
Thanks
[Back to original message]
|