/ Published in: ASP

quick way to strip the rtf data so you have clean text
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Function RemoveRTF(rtfText) set regexObject = New RegExp With regexObject .Pattern = "({\\)(.+?)(})|(\\)(.+?)(\b)" .IgnoreCase = True .Global = True End With RemoveRTF = Replace(regexObject.Replace(rtfText, ""),"}", "") End Function
Comments
