<?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: SAP Design Studio 1.6 - Regular expression for script filtering in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-design-studio-1-6-regular-expression-for-script-filtering/qaa-p/385315#M35789</link>
    <description>&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;You can't apply wildcards as per your example.  However, you could simulate this using the &lt;EM&gt;indexOf()&lt;/EM&gt; method to search for the existence of a substring within a string.  For example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if (element.text.indexOf("DO")) = -1 ){

   //do something

}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mustafa.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2017 14:14:54 GMT</pubDate>
    <dc:creator>MustafaBensan</dc:creator>
    <dc:date>2017-02-27T14:14:54Z</dc:date>
    <item>
      <title>SAP Design Studio 1.6 - Regular expression for script filtering</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-design-studio-1-6-regular-expression-for-script-filtering/qaq-p/385314</link>
      <description>&lt;P&gt;There is a way to use regulal expression on Design Studio scripts for filtering text from a dropdwon menu like:  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if (element.text != "DO*" ){

   //do something

}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 11:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-design-studio-1-6-regular-expression-for-script-filtering/qaq-p/385314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-27T11:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Design Studio 1.6 - Regular expression for script filtering</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-design-studio-1-6-regular-expression-for-script-filtering/qaa-p/385315#M35789</link>
      <description>&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;You can't apply wildcards as per your example.  However, you could simulate this using the &lt;EM&gt;indexOf()&lt;/EM&gt; method to search for the existence of a substring within a string.  For example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if (element.text.indexOf("DO")) = -1 ){

   //do something

}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mustafa.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 14:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-design-studio-1-6-regular-expression-for-script-filtering/qaa-p/385315#M35789</guid>
      <dc:creator>MustafaBensan</dc:creator>
      <dc:date>2017-02-27T14:14:54Z</dc:date>
    </item>
  </channel>
</rss>

