<?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: How to use Regular expression to get characters? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-use-Regular-expression-to-get-characters/m-p/786334#M96919</link>
    <description>&lt;P&gt;Just based on your example you don't need regex as Word() might be enough&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For F&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word(-2, str, ",F+S");&amp;nbsp;//&amp;nbsp;"18441"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;for S&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word(-1, str, ",F+S");&amp;nbsp;//&amp;nbsp;"18442"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

str = "-F19,S20+F18441,S18442";

Show(Word(-2, str, ",F+S"));
Show(Word(-1, str, ",F+S"));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2024 19:12:43 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-08-27T19:12:43Z</dc:date>
    <item>
      <title>How to use Regular expression to get characters?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-Regular-expression-to-get-characters/m-p/786265#M96918</link>
      <description>&lt;P&gt;A simple question, please find the attachment as a demo.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the requirement as following, it is required to take some information from :Label column, to two new column, details find the pic "image.png".&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 18:42:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-Regular-expression-to-get-characters/m-p/786265#M96918</guid>
      <dc:creator>Sean_ShCn0</dc:creator>
      <dc:date>2024-08-27T18:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Regular expression to get characters?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-Regular-expression-to-get-characters/m-p/786334#M96919</link>
      <description>&lt;P&gt;Just based on your example you don't need regex as Word() might be enough&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For F&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word(-2, str, ",F+S");&amp;nbsp;//&amp;nbsp;"18441"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;for S&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word(-1, str, ",F+S");&amp;nbsp;//&amp;nbsp;"18442"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

str = "-F19,S20+F18441,S18442";

Show(Word(-2, str, ",F+S"));
Show(Word(-1, str, ",F+S"));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 19:12:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-Regular-expression-to-get-characters/m-p/786334#M96919</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-27T19:12:43Z</dc:date>
    </item>
  </channel>
</rss>

