version of the emails in the database. I'm then parsing the email on
display, but I want to remove any sort of HTML formatting. I've tried 2
methods, and neither seem bulletproof.
First try, I remove all HTML tags from the message using the StripTags udf.
Then I converte all Chr(10)&Chr(13) to <br> for display. This seems ok, but
the StripTags tag seems to remove things BETWEEN tags, so <div>Hello</div>
would actually be removed from the message. Not ideal.
So my second try was to use a RegEx to remove everything contained in a <
and > and also change the carriage returns to <br>'s. Again, this seems ok,
but the output doesn't always come out as desired or the way it *should*
look in plain text.
Is there an easier way to get the plain text version of my stored message?
Cedric
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

