<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Remove all HTML tags in a string in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824308#M4855151</link>
    <description>&lt;P&gt;Gosh, you'd consider this uncomprehensible?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;'(?&amp;lt;=[&amp;lt;]span class="' || Class || '"[&amp;gt;]).*(?=[&amp;lt;]/span[&amp;gt;])'&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Unfortunately,  it was written almost two weeks ago, if I could only ask the author. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 13:12:03 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2020-10-27T13:12:03Z</dc:date>
    <item>
      <title>Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaq-p/13824300</link>
      <description>&lt;P&gt;Is there any good way to remove all HTML tags in a string with sql (preferably without function) that looks like this.&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;/A&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;html&lt;/SPAN&gt; &lt;SPAN&gt;xmlns&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="http://www.w3.org/1999/xhtml&amp;quot;" target="_blank"&gt;http://www.w3.org/1999/xhtml"&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;head&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;meta&lt;/SPAN&gt; &lt;SPAN&gt;http-equiv&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Content-Type"&lt;/SPAN&gt; &lt;SPAN&gt;content&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"text/html; charset=utf-8"&lt;/SPAN&gt; &lt;SPAN&gt;/&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;title&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;title&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
        &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;style&lt;/SPAN&gt; &lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"text/css"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
            &lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;csC583D0C8&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;text-align&lt;/SPAN&gt;&lt;SPAN&g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;/SPAN&gt;&lt;SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;body&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;html&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Results should be like this&lt;/P&gt;
&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;Test row 1
Test row 2
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Oct 2020 07:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaq-p/13824300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-10-16T07:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824301#M4855144</link>
      <description>&lt;P&gt;If you can be certain about how your html is formatted, then you can probably do something with REGEXP_SUBSTR() and a basic expression like &amp;lt;[^&amp;gt;]*&amp;gt;. However, even in your example you will first have to process the line breaks - and find a way of removing the CSS info that is not inside a tag. &lt;/P&gt;
&lt;P&gt;Actually parsing html with regular expressions is notoriously difficult, and is extensively discussed on StackOverflow and elsewhere. Any approach based on regular expressions is very much a "fudge" and likely to be broken by any unexpected changes to the html document - the right way is to use a proper library.&lt;/P&gt;
&lt;P&gt;If you don't know it - regex101.com is a useful resource. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 07:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824301#M4855144</guid>
      <dc:creator>justin_willey</dc:creator>
      <dc:date>2020-10-16T07:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824302#M4855145</link>
      <description>&lt;P&gt;AFAIK, as XHTML documents are using XML, you might be better off by trying the builtin &lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/817205cf6ce21014a949c790fd6b0608.html"&gt;OpenXML operator&lt;/A&gt; to access the desired document portions. - Note, while I have often used OpenXML for XML documents, I have not tried myself with XHTML.&lt;/P&gt;
&lt;P&gt;Here's a starting sample:&lt;/P&gt;
&lt;PRE&gt;create or replace variable varDoc xml;
set varDoc = 
'
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&amp;gt;&amp;lt;title&amp;gt;
        &amp;lt;/title&amp;gt;
        &amp;lt;style type="text/css"&amp;gt;
            .csC583D0C8{text-align:left;text-indent:0pt;margin:12pt 0pt 12pt 0pt}
            .csCABEF5ED{color:#282832;background-color:transparent;font-family:Arial;font-size:10pt;font-weight:bold;font-style:normal;}
        &amp;lt;/style&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &lt;P&gt;&lt;SPAN&gt;Test row 1&lt;BR /&gt;Test row2&lt;/SPAN&gt;&lt;/P&gt;&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;';
select *
-- list all nodes
-- from OpenXML(varDoc, '//*')
-- filtered on the span node within the body's paragraphs
from OpenXML(varDoc, '//*:body/*:p/*:span')
   with (ID int '&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;@mp&lt;/A&gt;:id',
         Node long varchar 'node()',
         Name long varchar '&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;@mp&lt;/A&gt;:localname',
         Text long varchar 'text()',
         XmlText long varchar '&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;@mp&lt;/A&gt;:xmltext',
         Class long varchar '@class')
order by ID;
&lt;/PRE&gt;

&lt;P&gt;This return the following row:
&lt;/P&gt;&lt;PRE&gt;ID;Node;Name;Text;XmlText;Class
606;'Test row 1';'span';'Test row 1';'&lt;SPAN&gt;Test row 1&lt;BR /&gt;Test row2&lt;/SPAN&gt;';'csCABEF5ED'
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Apparently, in contrast to normal XML documents where your data would be easily accessable via well-named attributes or elements, here the XML contents of the "span element" would need to be extracted lateron, say via regex_substring and replace, as Justin has suggested. But I hope you get the idea.&lt;/P&gt;
&lt;P&gt;FWIW, to list the whole document, simply use the first OpenXML call (i.e. un-comment it).&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 08:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824302#M4855145</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2020-10-16T08:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824303#M4855146</link>
      <description>&lt;P&gt;Here's a way to extract the text via further regexp_substr and sa_split_list - as so often, I'm impressed by the builtin tools...&lt;/P&gt;
&lt;PRE&gt;create or replace variable varDoc xml;
set varDoc = 
'
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
    &amp;lt;head&amp;gt;
        &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&amp;gt;&amp;lt;title&amp;gt;
        &amp;lt;/title&amp;gt;
        &amp;lt;style type="text/css"&amp;gt;
            .csC583D0C8{text-align:left;text-indent:0pt;margin:12pt 0pt 12pt 0pt}
            .csCABEF5ED{color:#282832;background-color:transparent;font-family:Arial;font-size:10pt;font-weight:bold;font-style:normal;}
        &amp;lt;/style&amp;gt;
    &amp;lt;/head&amp;gt;
    &amp;lt;body&amp;gt;
        &lt;P&gt;&lt;SPAN&gt;Test row 1&lt;BR /&gt;Test row2&lt;/SPAN&gt;&lt;/P&gt;&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;';
select XmlText,
   -- search for text within the "span" tag
   regexp_substr(XmlText, '(?&amp;lt;=[&amp;lt;]span class="' || Class || '"[&amp;gt;]).*(?=[&amp;lt;]/span[&amp;gt;])') as TextExtract,
   line_num, row_value
-- filtered on the span node within the body's paragraphs
from OpenXML(varDoc, '//*:body/*:p/*:span')
   with (ID int '&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;@mp&lt;/A&gt;:id',
      Node long varchar 'node()',
      Name long varchar '&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;@mp&lt;/A&gt;:localname',
      Text long varchar 'text()',
      XmlText long varchar '&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1344/mpaparelli"&gt;@mp&lt;/A&gt;:xmltext',
      Class long varchar '@class')
   -- split TextExtract based on br tag
   outer apply sa_split_list(TextExtract, '&lt;BR /&gt;')
order by ID, line_num;
&lt;/PRE&gt;

&lt;P&gt;returns&lt;/P&gt;
&lt;PRE&gt;XmlText;TextExtract;line_num;row_value
'&lt;SPAN&gt;Test row 1&lt;BR /&gt;Test row2&lt;/SPAN&gt;';'Test row 1&lt;BR /&gt;Test row2';1;'Test row 1'
'&lt;SPAN&gt;Test row 1&lt;BR /&gt;Test row2&lt;/SPAN&gt;';'Test row 1&lt;BR /&gt;Test row2';2;'Test row2'&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Oct 2020 09:00:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824303#M4855146</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2020-10-16T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824304#M4855147</link>
      <description>&lt;P&gt;No mention of regular expressions is complete without input from xkcd :)...&lt;/P&gt;
&lt;P&gt;&lt;IMG width="400" src="https://imgs.xkcd.com/comics/perl_problems_2x.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 12:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824304#M4855147</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2020-10-27T12:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824305#M4855148</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;the right way is to use a proper library&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do browsers use "a proper library"? I suspect not, because browsers successfully handle ALL SORTS of improper HTML...&lt;/P&gt;
&lt;P&gt;...but that may not matter in this case; &lt;B&gt;if all you have is proper input then you must find some way to deal with it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 12:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824305#M4855148</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2020-10-27T12:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824306#M4855149</link>
      <description>&lt;P&gt;The great mystery I find with regular expressions, is having finally got one to work properly and think I really understand what is going on, I can come back a day later and not have the slightest idea how it works!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 12:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824306#M4855149</guid>
      <dc:creator>justin_willey</dc:creator>
      <dc:date>2020-10-27T12:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824307#M4855150</link>
      <description>&lt;P&gt;Well, I'd always thought this would be the &lt;A href="https://xkcd.com/208/"&gt;one and only reference&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Wait, forgot to escape a space. Wheeeeee[taptaptap]eeeeee!&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 27 Oct 2020 13:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824307#M4855150</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2020-10-27T13:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove all HTML tags in a string</title>
      <link>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824308#M4855151</link>
      <description>&lt;P&gt;Gosh, you'd consider this uncomprehensible?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;'(?&amp;lt;=[&amp;lt;]span class="' || Class || '"[&amp;gt;]).*(?=[&amp;lt;]/span[&amp;gt;])'&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Unfortunately,  it was written almost two weeks ago, if I could only ask the author. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 13:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/remove-all-html-tags-in-a-string/qaa-p/13824308#M4855151</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2020-10-27T13:12:03Z</dc:date>
    </item>
  </channel>
</rss>

