dbTalk Databases Forums  

Stripping HTML tags from a string and returning the cleaned string

comp.databases.pick comp.databases.pick


Discuss Stripping HTML tags from a string and returning the cleaned string in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ian McMillan
 
Posts: n/a

Default Stripping HTML tags from a string and returning the cleaned string - 11-17-2005 , 05:17 PM







Hello Everyone,

I'm working on maintaining an application badly implemented in Basic+ - the
Openinsight variety of multivalue.
I need to re-write a function to rempove HTML tags properly from a string
(the current one lets tags through).
Does anyone know of a way to accomplish this in Basic+?
I was hoping to use some form of regular expression maybe? Does anything
exist in Basic+ to help me?

Thanks in advance,

Ian





Reply With Quote
  #2  
Old   
Tom deL
 
Posts: n/a

Default Re: Stripping HTML tags from a string and returning the cleaned string - 11-17-2005 , 05:48 PM






Hi Ian,

Quote:
I'm working on maintaining an application badly implemented in Basic+ - the
Openinsight variety of multivalue.
I need to re-write a function to rempove HTML tags properly from a string
(the current one lets tags through).
Does anyone know of a way to accomplish this in Basic+?
I was hoping to use some form of regular expression maybe? Does anything
exist in Basic+ to help me?
This is not BASIC but you might look at the user supplied notes in the
PHP manual for the strip_tags() function:
http://us3.php.net/manual/en/function.strip-tags.php

There are lots of homebrew regexp solutions there that you could likely
borrow and apply in a BASIC program.

HTH,
-Tom



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.