H
Harry Leboeuf
Hello,
I'm looking for a way to strip all html tags from a string.
I've found several good regular expressions that do that job.
I'm using <(.|\n)*?>,
But now i would like to keep the tag if betwene the < and the > appears some
text.
What is the goal, strip all html-tags and all anchors except if the anchor
goes to a specific site, then i still need the anchor in the stripped
string.
Anybody got a suggestion ??
Kind Regards
Harry
I'm looking for a way to strip all html tags from a string.
I've found several good regular expressions that do that job.
I'm using <(.|\n)*?>,
But now i would like to keep the tag if betwene the < and the > appears some
text.
What is the goal, strip all html-tags and all anchors except if the anchor
goes to a specific site, then i still need the anchor in the stripped
string.
Anybody got a suggestion ??
Kind Regards
Harry