<?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 ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549456#M853950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using an alternative pattern like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[a-z0-9!#$%&amp;amp;'&lt;STRONG&gt;&lt;EM&gt;/=?^_`{|}~-]&lt;/EM&gt;(?:\.[a-z0-9!#$%&amp;amp;'&lt;/STRONG&gt;&lt;EM&gt;/=?^_`{|}~-]&lt;/EM&gt;)&lt;STRONG&gt;@(?:[a-z0-9](?:[a-z0-9-]&lt;/STRONG&gt;[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2008 15:32:48 GMT</pubDate>
    <dc:creator>b_deterd2</dc:creator>
    <dc:date>2008-04-01T15:32:48Z</dc:date>
    <item>
      <title>regex ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549455#M853949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing a validation for valid mail-ids thru REGEX . Here is the code for this . but it is not giving any results back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report  zars.

data: regex   type ref to cl_abap_regex,
      matcher type ref to cl_abap_matcher,
      match   type c length 1.

create object regex exporting pattern = ' [A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4} '
                              ignore_case = ''.

matcher = regex-&amp;gt;create_matcher( text = '"abc^abc.ca"' ).

match = matcher-&amp;gt;match( ).

write match.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Info?&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 14:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549455#M853949</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-04-01T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: regex ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549456#M853950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using an alternative pattern like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[a-z0-9!#$%&amp;amp;'&lt;STRONG&gt;&lt;EM&gt;/=?^_`{|}~-]&lt;/EM&gt;(?:\.[a-z0-9!#$%&amp;amp;'&lt;/STRONG&gt;&lt;EM&gt;/=?^_`{|}~-]&lt;/EM&gt;)&lt;STRONG&gt;@(?:[a-z0-9](?:[a-z0-9-]&lt;/STRONG&gt;[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 15:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549456#M853950</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-01T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: regex ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549457#M853951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this looks better!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"[a-z0-9!#$%&amp;amp;'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;amp;'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 15:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549457#M853951</guid>
      <dc:creator>b_deterd2</dc:creator>
      <dc:date>2008-04-01T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: regex ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549458#M853952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. Your reply give me a hint to solve this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried in this way&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
[w]+@[w]+.[w]{2,3}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the details:-&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&lt;A href="https://community.sap.com/w"&gt;&lt;/A&gt;&lt;EM&gt;&amp;#151;The w represents any word-letter (A-Z,a-z and 0-9). This is then bracketed so that the plus modifier can be used to specify one or more. Therefore, &lt;A href="https://community.sap.com/w"&gt;&lt;/A&gt;&lt;/EM&gt; tells the parser to match on one or more word-letters.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;@&amp;#151;Tells the parser to look for the at-sign&amp;#151;@&amp;#151;character&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&lt;A href="https://community.sap.com/w"&gt;&lt;/A&gt;+&amp;#151;As before, tells the parser to match on one or more word-letters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;.&amp;#151;Match on the period character&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&lt;A href="https://community.sap.com/w"&gt;&lt;/A&gt;{2,3}&amp;#151;Once again, the pattern specifies a search for word-letters with the difference here being that the {x,y} modifier tells the parser to search for a specific number of word-letters&amp;#151;two or three, in this case.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 15:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549458#M853952</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-04-01T15:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: regex ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549459#M853953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For more related regex pattern please refer this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.grymoire.com/Unix/Regular.html#uh-0" target="test_blank"&gt;http://www.grymoire.com/Unix/Regular.html#uh-0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;and please remember POSIX characters will be validated from&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;version  ECC 7.00 onwards&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 16:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regex/m-p/3549459#M853953</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-04-01T16:02:37Z</dc:date>
    </item>
  </channel>
</rss>

