<?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 How can replace the following with a newline with a regular substitution in JMP software's JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-replace-the-following-with-a-newline-with-a-regular/m-p/628157#M82649</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;],[&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;t1=Regex(txt,"],[","\!n",globalreplace);//??&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:09:15 GMT</pubDate>
    <dc:creator>UersK</dc:creator>
    <dc:date>2023-06-09T16:09:15Z</dc:date>
    <item>
      <title>How can replace the following with a newline with a regular substitution in JMP software's JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-replace-the-following-with-a-newline-with-a-regular/m-p/628157#M82649</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;],[&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;t1=Regex(txt,"],[","\!n",globalreplace);//??&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:09:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-replace-the-following-with-a-newline-with-a-regular/m-p/628157#M82649</guid>
      <dc:creator>UersK</dc:creator>
      <dc:date>2023-06-09T16:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can replace the following with a newline with a regular substitution in JMP software's JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-replace-the-following-with-a-newline-with-a-regular/m-p/628166#M82650</link>
      <description>&lt;P&gt;You need to escape [ and ] in regex (you could also use Substitute/Substitute Into)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

txt = "a],[b";
t1 = Regex(txt, "\!],\!\[", "\!n", GLOBALREPLACE);
t2 = Substitute(txt, "],[", "\!N");
show(t1, t2);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/jsl-syntax-rules.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/jsl-syntax-rules.shtml&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/escaped-characters-in-regular-expressions.shtml" target="_blank"&gt;https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/escaped-characters-in-regular-expressions.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 13:27:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-replace-the-following-with-a-newline-with-a-regular/m-p/628166#M82650</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-03T13:27:21Z</dc:date>
    </item>
  </channel>
</rss>

