Reply to Re: Stripping HTML attributes and tags

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация