<?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 Re: Replace substring within Brackets with regex in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686514#M2017313</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;DATA: v_string TYPE string VALUE '{12ZT-}716Ghdnsba'.&lt;BR /&gt;&lt;BR /&gt;REPLACE PCRE '\{.*\}' IN v_string WITH ''.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 31 Jan 2023 15:47:27 GMT</pubDate>
    <dc:creator>thkolz</dc:creator>
    <dc:date>2023-01-31T15:47:27Z</dc:date>
    <item>
      <title>Replace substring within Brackets with regex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686511#M2017310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;the following String is given: '{12ZT-}716Ghdnsba'.&lt;/P&gt;
  &lt;P&gt;I want to cut the text within the Brackets, so the result would be '716Ghdnsba'.&lt;/P&gt;
  &lt;P&gt;Can anybody show me the approach with Regular Expressions? (regex?)&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 14:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686511#M2017310</guid>
      <dc:creator>casualCoder</dc:creator>
      <dc:date>2023-01-31T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Replace substring within Brackets with regex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686512#M2017311</link>
      <description>&lt;P&gt;You can &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapreplace_in_pattern.htm"&gt;replace a regex pattern in a string&lt;/A&gt; using a syntax such as &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPLACE PCRE &amp;lt;regex pattern&amp;gt; IN &amp;lt;string&amp;gt; WITH ``.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For example try with a pattern such as \{.*\} (try demo report DEMO_REGEX) &lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686512#M2017311</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-01-31T15:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Replace substring within Brackets with regex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686513#M2017312</link>
      <description>&lt;P&gt;PCRE or POSIX?&lt;/P&gt;&lt;P&gt;or just use substring_after( ... sub = '}' ), no?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686513#M2017312</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-01-31T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replace substring within Brackets with regex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686514#M2017313</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;DATA: v_string TYPE string VALUE '{12ZT-}716Ghdnsba'.&lt;BR /&gt;&lt;BR /&gt;REPLACE PCRE '\{.*\}' IN v_string WITH ''.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686514#M2017313</guid>
      <dc:creator>thkolz</dc:creator>
      <dc:date>2023-01-31T15:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replace substring within Brackets with regex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686515#M2017314</link>
      <description>&lt;P&gt;Or something like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;match( val = '{12ZT-}716Ghdnsba' regex = '[^}]*$' )&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Jan 2023 21:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/replace-substring-within-brackets-with-regex/m-p/12686515#M2017314</guid>
      <dc:creator>touzik_itc</dc:creator>
      <dc:date>2023-01-31T21:13:17Z</dc:date>
    </item>
  </channel>
</rss>

