<?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>topic REGEX problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930596#M1692403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a regular expression that matches every text that is not part of the XML tag. I found the regex below, which works perfectly in any online regex validator, but when i test it in DEMO_REGEX_TOY an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(?&amp;lt;=^|&amp;gt;)[^&amp;gt;&amp;lt;]+?(?=&amp;lt;|$)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything indicates that the problem is in ' &amp;lt;= '. There is another way to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'll appreciate if someone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[]'s&lt;/P&gt;&lt;P&gt;Vinicius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 15:56:03 GMT</pubDate>
    <dc:creator>vneecious</dc:creator>
    <dc:date>2012-07-19T15:56:03Z</dc:date>
    <item>
      <title>REGEX problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930596#M1692403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a regular expression that matches every text that is not part of the XML tag. I found the regex below, which works perfectly in any online regex validator, but when i test it in DEMO_REGEX_TOY an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(?&amp;lt;=^|&amp;gt;)[^&amp;gt;&amp;lt;]+?(?=&amp;lt;|$)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything indicates that the problem is in ' &amp;lt;= '. There is another way to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'll appreciate if someone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[]'s&lt;/P&gt;&lt;P&gt;Vinicius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 15:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930596#M1692403</guid>
      <dc:creator>vneecious</dc:creator>
      <dc:date>2012-07-19T15:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930597#M1692404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using &lt;/P&gt;&lt;P&gt;: REPLACE ALL OCCURRENCES OF REGEX '&amp;lt;[a-zA-Z\/][^&amp;gt;]*&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this on regex toy and it work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 16:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930597#M1692404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-19T16:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930598#M1692405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;much more simple than search for the content between the tags! thank you &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 16:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930598#M1692405</guid>
      <dc:creator>vneecious</dc:creator>
      <dc:date>2012-07-19T16:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930599#M1692406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simplifying your answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPLACE ALL OCCURRENCES OF REGEX '&amp;lt;[^&amp;lt;]+&amp;gt;' WITH space &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/825/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 17:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930599#M1692406</guid>
      <dc:creator>vneecious</dc:creator>
      <dc:date>2012-07-19T17:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930600#M1692407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option that's more greedy.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;REPLACE ALL OCCURRENCES OF REGEX '\&amp;lt;(.*?)\&amp;gt;' WITH space&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 19:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-problem/m-p/8930600#M1692407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-19T19:29:22Z</dc:date>
    </item>
  </channel>
</rss>

