FCKEditor seems to do a really good job of cleaning this up.  It uses
a series of regexes, although they are run in _javascript_.  Shouldn't
be too tough to convert.

Download FCKEditor 1.6 from sourceforge, look in the /js/ folder for
fck_actions.js.  They're grouped together in their own commented
function.

--
--Matt Robertson--
MSB Designs, Inc.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to