How to remove HTML tags from a string using VBscript? Whether there is any function available?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the string only contains fairly basic HTML and you’re sure that the text will never contain
<or>you might just be able loop through the text and useInStrto find all the<and>and the useMidto keep all the text that’s not between those.Otherwise, this CodeProject article contains a function that’s supposed to do it in better way in the section named Fourth Option – Another VBScript attempt. However, the article doesn’t mention any license information which might be an issue for you.