<?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: Regex help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954942#M2038023</link>
    <description>&lt;P&gt;What kind of regex: POSIX, PCRE or other? If you don't know, please provide your minimal ABAP version. Why can't you use STRLEN?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 06:29:05 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2024-12-04T06:29:05Z</dc:date>
    <item>
      <title>Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954741#M2038019</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to develop a regex pattern to search a string. The string is like 'Aravind.Induchudan'.&lt;/P&gt;&lt;P&gt;Whatever before dot can be 3 to 7 characters and whatever after dot can be also 3 to 7 characters.&lt;/P&gt;&lt;P&gt;The regex pattern is '[A-Z]{3,10}\.[A-Z]{3,10}'.&lt;/P&gt;&lt;P&gt;The next rule the total length should be 10-18 characters. How to do this. Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 02:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954741#M2038019</guid>
      <dc:creator>aravind_indu</dc:creator>
      <dc:date>2024-12-04T02:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954746#M2038020</link>
      <description>&lt;P&gt;Can you please try&amp;nbsp;&lt;/P&gt;&lt;P&gt;^[A-Z]{3,7}\.[A-Z]{3,7}$&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 02:54:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954746#M2038020</guid>
      <dc:creator>bordaraju</dc:creator>
      <dc:date>2024-12-04T02:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954767#M2038021</link>
      <description>&lt;P&gt;My problem is with total length rule.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 03:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954767#M2038021</guid>
      <dc:creator>aravind_indu</dc:creator>
      <dc:date>2024-12-04T03:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954775#M2038022</link>
      <description>&lt;P&gt;I guess we need to rely on&amp;nbsp;strlen for that !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 04:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954775#M2038022</guid>
      <dc:creator>bordaraju</dc:creator>
      <dc:date>2024-12-04T04:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954942#M2038023</link>
      <description>&lt;P&gt;What kind of regex: POSIX, PCRE or other? If you don't know, please provide your minimal ABAP version. Why can't you use STRLEN?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 06:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13954942#M2038023</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2024-12-04T06:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955116#M2038025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/362467"&gt;@aravind_indu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm not sure if lookaheads are working, but with a Perl like syntax it is look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;^(?=.{10,18}$)[a-zA-Z]{3,10}\.[a-zA-Z]{3,10}$&lt;/LI-CODE&gt;&lt;P&gt;Regards,&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 08:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955116#M2038025</guid>
      <dc:creator>catano</dc:creator>
      <dc:date>2024-12-04T08:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955118#M2038026</link>
      <description>&lt;P&gt;Using callout it is possible.&lt;/P&gt;&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;DATA&amp;nbsp;&lt;/SPAN&gt;lv_text&amp;nbsp;&lt;SPAN class=""&gt;TYPE&amp;nbsp;&lt;/SPAN&gt;string&amp;nbsp;&lt;SPAN class=""&gt;VALUE&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;`Aravind.Induchudan&amp;nbsp;is&amp;nbsp;a&amp;nbsp;mail&amp;nbsp;id.&amp;nbsp;This&amp;nbsp;is&amp;nbsp;great.`&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;lv_text&amp;nbsp;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;lv_text&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;&lt;SPAN class=""&gt;`&amp;nbsp;Sam.Tom&amp;nbsp;is&amp;nbsp;another&amp;nbsp;mail&amp;nbsp;id.&amp;nbsp;Anirudh.Induchud&amp;nbsp;is&amp;nbsp;another&amp;nbsp;mail`&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CLASS&amp;nbsp;&lt;/SPAN&gt;handle_regex&amp;nbsp;&lt;SPAN class=""&gt;DEFINITION&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;PUBLIC&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SECTION&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;DATA&amp;nbsp;&lt;/SPAN&gt;lv_len&amp;nbsp;&lt;SPAN class=""&gt;TYPE&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;i&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;INTERFACES&amp;nbsp;&lt;/SPAN&gt;if_abap_matcher_callout&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CLASS&amp;nbsp;&lt;/SPAN&gt;handle_regex&amp;nbsp;&lt;SPAN class=""&gt;IMPLEMENTATION&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;METHOD&amp;nbsp;&lt;/SPAN&gt;if_abap_matcher_callout&lt;SPAN class=""&gt;~&lt;/SPAN&gt;callout&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;DATA&amp;nbsp;&lt;/SPAN&gt;lv_result&amp;nbsp;&lt;SPAN class=""&gt;TYPE&amp;nbsp;&lt;/SPAN&gt;if_abap_matcher_callout&lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt;callout_result&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;IF&amp;nbsp;&lt;/SPAN&gt;callout_num&amp;nbsp;&lt;SPAN class=""&gt;EQ&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lv_len&amp;nbsp;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;capture_last_len&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ELSEIF&amp;nbsp;&lt;/SPAN&gt;callout_num&amp;nbsp;&lt;SPAN class=""&gt;EQ&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lv_len&amp;nbsp;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;capture_last_len&amp;nbsp;+&amp;nbsp;lv_len&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;IF&amp;nbsp;&lt;/SPAN&gt;lv_len&amp;nbsp;&lt;SPAN class=""&gt;LT&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;10&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;OR&amp;nbsp;&lt;/SPAN&gt;lv_len&amp;nbsp;&lt;SPAN class=""&gt;GT&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;18&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;callout_result&amp;nbsp;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;IF_ABAP_MATCHER_CALLOUT&lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt;c_callout_result&lt;SPAN class=""&gt;-&lt;/SPAN&gt;FAIL&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CLASS&amp;nbsp;&lt;/SPAN&gt;demo_pcre&amp;nbsp;&lt;SPAN class=""&gt;DEFINITION&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;PUBLIC&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SECTION&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;CLASS-METHODS&amp;nbsp;&lt;/SPAN&gt;main&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CLASS&amp;nbsp;&lt;/SPAN&gt;demo_pcre&amp;nbsp;&lt;SPAN class=""&gt;IMPLEMENTATION&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;METHOD&amp;nbsp;&lt;/SPAN&gt;main&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;DATA&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;regex&lt;SPAN class=""&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;cl_abap_regex&lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt;create_pcre&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pattern&amp;nbsp;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;`(\w{3,10})(?C1)(\.)(?C3)(\w{3,10})(?C2)`&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;DATA&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;matcher&lt;SPAN class=""&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;regex&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt;create_matcher&lt;SPAN class=""&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;text&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;lv_text&amp;nbsp;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;DATA&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;handler&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;NEW&amp;nbsp;&lt;/SPAN&gt;handle_regex&lt;SPAN class=""&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;matcher&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt;set_callout&lt;SPAN class=""&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;handler&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;DATA&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;lv_result&lt;SPAN class=""&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;matcher&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt;match&lt;SPAN class=""&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;TRY&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;CALL&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;METHOD&amp;nbsp;&lt;/SPAN&gt;matcher&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt;find_all&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RECEIVING&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;matches&amp;nbsp;&lt;SPAN class=""&gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;DATA&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;lt_result&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;LOOP&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;AT&amp;nbsp;&lt;/SPAN&gt;lt_result&amp;nbsp;&lt;SPAN class=""&gt;INTO&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;DATA&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;ls_result&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;WRITE&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&amp;nbsp;&lt;/SPAN&gt;/&lt;SPAN class=""&gt;,&amp;nbsp;&lt;/SPAN&gt;lv_text+ls_result&lt;SPAN class=""&gt;-&lt;/SPAN&gt;offset&lt;SPAN class=""&gt;(&lt;/SPAN&gt;ls_result&lt;SPAN class=""&gt;-&lt;/SPAN&gt;length&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;CATCH&amp;nbsp;&lt;/SPAN&gt;cx_sy_matcher&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ENDTRY&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cl_demo_output&lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt;display&lt;SPAN class=""&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;ENDCLASS&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;START-OF-SELECTION&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;demo_pcre&lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt;main&lt;SPAN class=""&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 08:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955118#M2038026</guid>
      <dc:creator>aravind_indu</dc:creator>
      <dc:date>2024-12-04T08:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955145#M2038028</link>
      <description>&lt;P&gt;This regex works also with POSIX regex.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 09:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955145#M2038028</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2024-12-04T09:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955165#M2038030</link>
      <description>&lt;P&gt;Thanks, interesting to see a callout example. So, PCRE (since ABAP 7.55). I guess it's more an exercise than real life code, because testing the match length is a much shorter code:&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;FIND ALL OCCURRENCES OF PCRE '...' IN '...' RESULTS DATA(matches).
LOOP AT matches WHERE length BETWEEN 10 AND 18...
  ...
ENDLOOP.&lt;/LI-CODE&gt;&lt;P&gt;More about PCRE/Callouts in ABAP:&amp;nbsp;&lt;A href="https://community.sap.com/t5/application-development-blog-posts/modern-regular-expressions-in-abap-part-1-introducing-pcre/ba-p/13463483" target="_blank" rel="noopener"&gt;Modern Regular Expressions in ABAP - Part 1 - Intr... - SAP Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 09:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955165#M2038030</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2024-12-04T09:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955169#M2038031</link>
      <description>&lt;P&gt;Thanks Peter&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 09:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955169#M2038031</guid>
      <dc:creator>aravind_indu</dc:creator>
      <dc:date>2024-12-04T09:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955254#M2038034</link>
      <description>&lt;P&gt;Do you have access to a NetWeaver ERP system? You could run program DEMO_REGEX_TOY via SE38 there and see what happens. It also has online help with many pointers regarding REGEX.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 11:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13955254#M2038034</guid>
      <dc:creator>BaerbelWinkler</dc:creator>
      <dc:date>2024-12-04T11:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13956553#M2038048</link>
      <description>&lt;P class=""&gt;Ensure your regex engine supports lookahead assertions &lt;SPAN class=""&gt;&lt;FONT face="courier new,courier"&gt;(?=...)&lt;/FONT&gt; and then try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;^(?=.{10,18}$)[A-Za-z]{3,7}\.[A-Za-z]{3,10}$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 15:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13956553#M2038048</guid>
      <dc:creator>Vitaliy-R</dc:creator>
      <dc:date>2024-12-05T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13957355#M2038056</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/362467"&gt;@aravind_indu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Have you managed to make it work maybe with the regexp?&lt;BR /&gt;Meaning that my answer is a solution?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 13:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13957355#M2038056</guid>
      <dc:creator>catano</dc:creator>
      <dc:date>2024-12-06T13:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13959594#M2038078</link>
      <description>&lt;P&gt;Yes Peter. It is working.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 05:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13959594#M2038078</guid>
      <dc:creator>aravind_indu</dc:creator>
      <dc:date>2024-12-10T05:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13961121#M2038108</link>
      <description>&lt;P&gt;Can you mark it as "answered" then&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/362467"&gt;@aravind_indu&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 12:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13961121#M2038108</guid>
      <dc:creator>Vitaliy-R</dc:creator>
      <dc:date>2024-12-11T12:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13961591#M2038110</link>
      <description>&lt;P&gt;Wonderful, I'm glad it worked.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 23:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex-help/m-p/13961591#M2038110</guid>
      <dc:creator>catano</dc:creator>
      <dc:date>2024-12-11T23:52:13Z</dc:date>
    </item>
  </channel>
</rss>

