<?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 is this regular expression replacement implemented in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921600#M108031</link>
    <description>&lt;P&gt;&lt;SPAN&gt;It can only be operated manually once&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks Experts!&lt;/P&gt;</description>
    <pubDate>Mon, 29 Dec 2025 00:42:54 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2025-12-29T00:42:54Z</dc:date>
    <item>
      <title>How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921504#M108022</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The regular expressions of EmEditor&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;","(?=[^\[\]]*\])&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;How to modify JSL&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;",":["11000278031.胡剑","11000259239.胡慧","11000426432.叶子","11000445039.张大为","11000469637.詹浏洋","11000480631.李书颖"],","&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;",":["11000278031.胡剑&amp;amp;11000259239.胡慧&amp;amp;11000426432.叶子&amp;amp;11000445039.张大为&amp;amp;11000469637.詹浏洋&amp;amp;11000480631.李书颖"],","&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Dec 2025 10:10:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921504#M108022</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-12-27T10:10:15Z</dc:date>
    </item>
    <item>
      <title>回复： How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921514#M108023</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;txt="\!",\!":[\!"11000278031.胡剑\!",\!"11000259239.胡慧\!",\!"11000426432.叶子\!",\!"11000445039.张大为\!",\!"11000469637.詹浏洋\!",\!"11000480631.李书颖\!"],\!",\!"";

tx="";tx = Regex(txt, "\[","(?=[^\[\]]*\])]\", "&amp;amp;");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks Experts!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Dec 2025 11:07:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921514#M108023</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-12-27T11:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921523#M108024</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe something like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ames Default To Here(1);

str = "\[",":["11000278031.胡剑","11000259239.胡慧","11000426432.叶子","11000445039.张大为","11000469637.詹浏洋","11000480631.李书颖"],","]\";

res = Regex(str, "\[","(?=[^\[\]]*\])]\", "&amp;amp;", GLOBALREPLACE);
Write(res);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Dec 2025 13:39:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921523#M108024</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-27T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921529#M108026</link>
      <description>&lt;P&gt;It is a truly obtuse pattern. I was so sure it wouldn't work I didn't even try it. So, why does it work?&lt;/P&gt;
&lt;P&gt;The goal appears to be to replace the quote-comma-quote sequences, but only inside the [ square brackets ]. Somehow the positive look-ahead does that.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(?=[^\[\]]*\])&lt;/PRE&gt;
&lt;P&gt;means "look ahead for zero or more characters that are not square brackets, followed by a close square bracket."&lt;/P&gt;
&lt;P&gt;So the&amp;nbsp;quote-comma-quote before the [ can't match because the regex can't locate the trailing ] without being stopped by the [.&lt;/P&gt;
&lt;P&gt;And the final&amp;nbsp;quote-comma-quote after the ] can't match because there is not another ].&lt;/P&gt;
&lt;P&gt;and the&amp;nbsp;quote-comma-quote in the middle ... work.&lt;/P&gt;
&lt;P&gt;Cool, I guess. But actually a fair amount of work for the regex engine; the positive look ahead is scanning to the end of the string over and over. I would not leave this for a future maintainer to figure out without some comments, and I'd probably do it more like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;source = "\[
	",":["11000278031.胡剑","11000259239.胡慧","11000426432.叶子","11000445039.张大为","11000469637.詹浏洋","11000480631.李书颖"],","
]\";
Write( source );

findthis = "\!",\!""; // ","
replacewith = "&amp;amp;";

// goal: replace findthis  
//       with replacethis
//       but only inside the [ ... ] square brackets.

If( 0 &amp;lt; Contains( source, "[" ) &amp;lt; Contains( source, "]" ), "ok", Throw( "something wrong here" ));
parts = Words( source, "[]" );
If( N Items( parts ) == 3, "ok", Throw( "this needs more thought" ));
Substitute Into( parts[2], findthis, replacewith );
result = parts[1] || "[" || parts[2] || "]" || parts[3];

Write( result );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookahead_assertion" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookahead_assertion&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Dec 2025 15:00:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921529#M108026</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2025-12-27T15:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921579#M108028</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank Craige!&lt;BR /&gt;Actually, I just want to know how this JSON can be turned into a perfect table&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;tx="\[[{"title":"AA，AA","BName":"AA","BCode":"605366","orgCode":"82004416","orgName":"AA","orgSName":"AA","publishDate":"2025-12-28 00:00:00.","infoCode":"AP202512281809952250","column":"002004006001","predictNextTwoYearB":"","predictNextTwoYearPe":"","predictNextYearB":"","predictNextYearPe":"","predictThisYearB":"","predictThisYearPe":"","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"538","indvInduName":"AA","emBCode":"","emBValue":"","emBName":"","lastEmBCode":"","lastEmBValue":"","lastEmBName":"","BChange":"","reportType":2,"author":["11506051.AA"],"indvIsNew":"001","researcher":"AA","newListingDate":"2020-08-12 00:00:00.","newPurchaseDate":"2020-07-31 00:00:00.0","newIssueB":9.98,"newPeIssueA":22.78,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":383,"attachPages":3,"encodeUrl":"6XT6d6nxZNcP9JXS1dtw9ivwowNnxWgBjsEKvrMIHoo=","sBName":"","sBCode":"","B":"SHANGHAI","authorID":["11506051"],"count":1,"orgType":"white"},{"title":"AAI，AA","BName":"AA","BCode":"688800","orgCode":"80036717","orgName":"AA","orgSName":"AA","publishDate":"2025-12-28 00:00:00.","infoCode":"AP202512281809913359","column":"002004001003","predictNextTwoYearB":"2.67","predictNextTwoYearPe":"32.97","predictNextYearB":"2.08","predictNextYearPe":"42.24","predictThisYearB":"1.46","predictThisYearPe":"60.44","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"459","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"007","lastEmBValue":"3","lastEmBName":"AA","BChange":3,"reportType":2,"author":["11392732.AA","11524834.AA"],"indvIsNew":"001","researcher":"AA,AA","newListingDate":"2021-07-22 00:00:00.","newPurchaseDate":"2021-07-12 00:00:00.0","newIssueB":15.02,"newPeIssueA":24.49,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":764,"attachPages":5,"encodeUrl":"6XT6d6nxZNcP9JXS1dtw9snalC40a3QwRrj9tML8YAw=","sBName":"AA","sBCode":"0301","B":"SHANGHAI","authorID":["11392732","11524834"],"count":1,"orgType":"white"},{"title":"AA，AA","BName":"AA","BCode":"601038","orgCode":"80064","orgName":"AA","orgSName":"AA","publishDate":"2025-12-28 00:00:00.","infoCode":"AP202512281809893801","column":"002004002003","predictNextTwoYearB":"0.9","predictNextTwoYearPe":"15.7600","predictNextYearB":"0.8100","predictNextYearPe":"17.4900","predictThisYearB":"0.7900","predictThisYearPe":"17.9200","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"910","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"007","lastEmBValue":"3","lastEmBName":"AA","BChange":3,"reportType":2,"author":["11379333.AA"],"indvIsNew":"001","researcher":"AA","newListingDate":"2012-08-08 00:00:00.","newPurchaseDate":"2012-07-27 00:00:00.0","newIssueB":5.4,"newPeIssueA":14.44,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":321,"attachPages":4,"encodeUrl":"6XT6d6nxZNcP9JXS1dtw9vuL66I7rHatL9vNIud7cP0=","sBName":"AA","sBCode":"0101","B":"SHANGHAI","authorID":["11379333"],"count":1,"orgType":"white"},{"title":"AA：AA，AA","BName":"AA","BCode":"002488","orgCode":"80162","orgName":"AA","orgSName":"AA","publishDate":"2025-12-25 00:00:00.","infoCode":"AP202512251807934364","column":"002004001003","predictNextTwoYearB":"1.0100","predictNextTwoYearPe":"8.4","predictNextYearB":"0.3300","predictNextYearPe":"25.4","predictThisYearB":"0.0600","predictThisYearPe":"131.8","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"481","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"","lastEmBValue":"","lastEmBName":"","BChange":2,"reportType":2,"author":["11250834.AA","11245529.AA","11442637.AA"],"indvIsNew":"001","researcher":"AA,AA,AA","newListingDate":"2010-10-21 00:00:00.","newPurchaseDate":"2010-10-11 00:00:00.0","newIssueB":22,"newPeIssueA":73.33,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":2285,"attachPages":19,"encodeUrl":"MKF7cC+MZ9vDOQWsqD7ZgmRE9eUeYHJK9njuGLTcICI=","sBName":"AA(1)","sBCode":"0201","B":"SHENZHEN","authorID":["11250834","11245529","11442637"],"count":1,"orgType":"white"},{"title":"BDAA，AA","BName":"AA","BCode":"688621","orgCode":"80064","orgName":"AA","orgSName":"AA","publishDate":"2025-12-25 00:00:00.","infoCode":"AP202512251807725254","column":"002004006003","predictNextTwoYearB":"2.4600","predictNextTwoYearPe":"28.0","predictNextYearB":"2.2600","predictNextYearPe":"30.5400","predictThisYearB":"1.8","predictThisYearPe":"38.3300","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"727","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"007","lastEmBValue":"3","lastEmBName":"AA","BChange":3,"reportType":2,"author":["11296231.AA","11486715.AA"],"indvIsNew":"001","researcher":"AA,AA","newListingDate":"2021-06-21 00:00:00.","newPurchaseDate":"2021-06-09 00:00:00.0","newIssueB":26.89,"newPeIssueA":29.72,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":315,"attachPages":4,"encodeUrl":"MKF7cC+MZ9vDOQWsqD7ZgvFJHAi4XRobbkVOxAB2GK4=","sBName":"AA","sBCode":"0101","B":"SHANGHAI","authorID":["11296231","11486715"],"count":1,"orgType":"white"}]]\";
 d1 =jsontodatatable(tx);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;This will increase the number of lines&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Dec 2025 13:29:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921579#M108028</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-12-28T13:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921581#M108029</link>
      <description>&lt;P class="_tgt transPara grammarSection"&gt;&lt;SPAN class="transSent" data-group="0-0"&gt;Four rows have been added&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;&lt;SPAN class="transSent" data-group="1-0"&gt;That's why I came up with this stupid idea&lt;BR /&gt;Thanks Experts!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-12-28_21-31-08.png" style="width: 498px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89817i587E840FA016E96F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-12-28_21-31-08.png" alt="2025-12-28_21-31-08.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Dec 2025 13:39:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921581#M108029</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-12-28T13:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921598#M108030</link>
      <description>&lt;P&gt;JMP does offer JSON Import Wizard.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1766938981954.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89831i9DC408E2B6D60ADA/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1766938981954.png" alt="jthi_0-1766938981954.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there a specific reason to avoid using that first? When you figure out which options to use that you can try to transform them to JSON To Data Table as it does offer you with some parameters such as Guess() or JSON Settings()&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1766939211753.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89832iBDA0D00A08F466AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_1-1766939211753.png" alt="jthi_1-1766939211753.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Dec 2025 16:27:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921598#M108030</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-28T16:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921600#M108031</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It can only be operated manually once&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks Experts!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 00:42:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921600#M108031</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-12-29T00:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921622#M108032</link>
      <description>&lt;P&gt;You do it once manually to let JMP assist you in scripting like you &lt;STRONG&gt;always should do&lt;/STRONG&gt; with graphs, platforms and table transforms.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a .json file from your string&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1766985795233.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89848i00527059ED78AFC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1766985795233.png" alt="jthi_0-1766985795233.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Use JMP's Open and locate the file and open it as Using Preview&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1766985819563.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89849i0C0D91C4546F6283/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1766985819563.png" alt="jthi_1-1766985819563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try different options in the wizard. This is the result after just using Wide guess&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1766985849879.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89850i3AB6276A2167290D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1766985849879.png" alt="jthi_2-1766985849879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Export it to JMP if it looks fine. Check Source table script&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1766985879513.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89851i4CDAE9724CFCB7AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1766985879513.png" alt="jthi_3-1766985879513.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This could be OK for you if the structure is already the same. If not, go to scripting index/jmp help and check if &lt;EM&gt;Open&lt;/EM&gt; has any better options to use. Quickly looking it doesn't, look for JSON from Scripting Index. Come across &lt;EM&gt;JSON To Data Table&amp;nbsp;&lt;/EM&gt;which seems to have mention of Guess and "Wide"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1766986059961.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89853i9E6252CAA53D438B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1766986059961.png" alt="jthi_4-1766986059961.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Click Topic Help to get useful information about the arguments&lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/file-functions.shtml?os=win&amp;amp;source=application#ww6769160" target="_blank" rel="noopener"&gt;JSON To Data Table(JSON string, (&amp;lt;Private(Boolean)&amp;gt;|&amp;lt;Invisible(Boolean)&amp;gt;), &amp;lt;Guess(Stack(Boolean)|"Tall"|"Wide"|"Huge"|"Pandas")&amp;gt;)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1766986102499.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89854i9CEC86461E141B3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_5-1766986102499.png" alt="jthi_5-1766986102499.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Remember that you used "Wide" Guess in the JSON Wizard.&lt;/P&gt;
&lt;P&gt;Modify your script to use &lt;STRONG&gt;Guess&lt;/STRONG&gt; with &lt;EM&gt;JSON To Data Table&lt;/EM&gt;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

json = "\[[{"title":"AA，AA","BName":"AA","BCode":"605366","orgCode":"82004416","orgName":"AA","orgSName":"AA","publishDate":"2025-12-28 00:00:00.","infoCode":"AP202512281809952250","column":"002004006001","predictNextTwoYearB":"","predictNextTwoYearPe":"","predictNextYearB":"","predictNextYearPe":"","predictThisYearB":"","predictThisYearPe":"","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"538","indvInduName":"AA","emBCode":"","emBValue":"","emBName":"","lastEmBCode":"","lastEmBValue":"","lastEmBName":"","BChange":"","reportType":2,"author":["11506051.AA"],"indvIsNew":"001","researcher":"AA","newListingDate":"2020-08-12 00:00:00.","newPurchaseDate":"2020-07-31 00:00:00.0","newIssueB":9.98,"newPeIssueA":22.78,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":383,"attachPages":3,"encodeUrl":"6XT6d6nxZNcP9JXS1dtw9ivwowNnxWgBjsEKvrMIHoo=","sBName":"","sBCode":"","B":"SHANGHAI","authorID":["11506051"],"count":1,"orgType":"white"},{"title":"AAI，AA","BName":"AA","BCode":"688800","orgCode":"80036717","orgName":"AA","orgSName":"AA","publishDate":"2025-12-28 00:00:00.","infoCode":"AP202512281809913359","column":"002004001003","predictNextTwoYearB":"2.67","predictNextTwoYearPe":"32.97","predictNextYearB":"2.08","predictNextYearPe":"42.24","predictThisYearB":"1.46","predictThisYearPe":"60.44","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"459","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"007","lastEmBValue":"3","lastEmBName":"AA","BChange":3,"reportType":2,"author":["11392732.AA","11524834.AA"],"indvIsNew":"001","researcher":"AA,AA","newListingDate":"2021-07-22 00:00:00.","newPurchaseDate":"2021-07-12 00:00:00.0","newIssueB":15.02,"newPeIssueA":24.49,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":764,"attachPages":5,"encodeUrl":"6XT6d6nxZNcP9JXS1dtw9snalC40a3QwRrj9tML8YAw=","sBName":"AA","sBCode":"0301","B":"SHANGHAI","authorID":["11392732","11524834"],"count":1,"orgType":"white"},{"title":"AA，AA","BName":"AA","BCode":"601038","orgCode":"80064","orgName":"AA","orgSName":"AA","publishDate":"2025-12-28 00:00:00.","infoCode":"AP202512281809893801","column":"002004002003","predictNextTwoYearB":"0.9","predictNextTwoYearPe":"15.7600","predictNextYearB":"0.8100","predictNextYearPe":"17.4900","predictThisYearB":"0.7900","predictThisYearPe":"17.9200","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"910","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"007","lastEmBValue":"3","lastEmBName":"AA","BChange":3,"reportType":2,"author":["11379333.AA"],"indvIsNew":"001","researcher":"AA","newListingDate":"2012-08-08 00:00:00.","newPurchaseDate":"2012-07-27 00:00:00.0","newIssueB":5.4,"newPeIssueA":14.44,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":321,"attachPages":4,"encodeUrl":"6XT6d6nxZNcP9JXS1dtw9vuL66I7rHatL9vNIud7cP0=","sBName":"AA","sBCode":"0101","B":"SHANGHAI","authorID":["11379333"],"count":1,"orgType":"white"},{"title":"AA：AA，AA","BName":"AA","BCode":"002488","orgCode":"80162","orgName":"AA","orgSName":"AA","publishDate":"2025-12-25 00:00:00.","infoCode":"AP202512251807934364","column":"002004001003","predictNextTwoYearB":"1.0100","predictNextTwoYearPe":"8.4","predictNextYearB":"0.3300","predictNextYearPe":"25.4","predictThisYearB":"0.0600","predictThisYearPe":"131.8","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"481","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"","lastEmBValue":"","lastEmBName":"","BChange":2,"reportType":2,"author":["11250834.AA","11245529.AA","11442637.AA"],"indvIsNew":"001","researcher":"AA,AA,AA","newListingDate":"2010-10-21 00:00:00.","newPurchaseDate":"2010-10-11 00:00:00.0","newIssueB":22,"newPeIssueA":73.33,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":2285,"attachPages":19,"encodeUrl":"MKF7cC+MZ9vDOQWsqD7ZgmRE9eUeYHJK9njuGLTcICI=","sBName":"AA(1)","sBCode":"0201","B":"SHENZHEN","authorID":["11250834","11245529","11442637"],"count":1,"orgType":"white"},{"title":"BDAA，AA","BName":"AA","BCode":"688621","orgCode":"80064","orgName":"AA","orgSName":"AA","publishDate":"2025-12-25 00:00:00.","infoCode":"AP202512251807725254","column":"002004006003","predictNextTwoYearB":"2.4600","predictNextTwoYearPe":"28.0","predictNextYearB":"2.2600","predictNextYearPe":"30.5400","predictThisYearB":"1.8","predictThisYearPe":"38.3300","predictLastYearB":"","predictLastYearPe":"","actualLastTwoYearB":"","actualLastYearB":"","industryCode":"","industryName":"","emIndustryCode":"","indvInduCode":"727","indvInduName":"AA","emBCode":"007","emBValue":"3","emBName":"AA","lastEmBCode":"007","lastEmBValue":"3","lastEmBName":"AA","BChange":3,"reportType":2,"author":["11296231.AA","11486715.AA"],"indvIsNew":"001","researcher":"AA,AA","newListingDate":"2021-06-21 00:00:00.","newPurchaseDate":"2021-06-09 00:00:00.0","newIssueB":26.89,"newPeIssueA":29.72,"indvAimBT":"","indvAimBL":"","attachType":"0","attachSize":315,"attachPages":4,"encodeUrl":"MKF7cC+MZ9vDOQWsqD7ZgvFJHAi4XRobbkVOxAB2GK4=","sBName":"AA","sBCode":"0101","B":"SHANGHAI","authorID":["11296231","11486715"],"count":1,"orgType":"white"}]]\";

dt_json = JSON To Data Table(json, Guess(Stack(0), "Wide"));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 29 Dec 2025 05:32:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921622#M108032</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-29T05:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921631#M108033</link>
      <description>&lt;P&gt;The original data rows contain fields that are arrays (author and authorID.) The stack option determines if those arrays make more rows.&lt;/P&gt;
&lt;P&gt;unstacked keeps the multiple authors on one row:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craige_Hales_0-1766991826913.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89859iB7EFAC00E5814FB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Craige_Hales_0-1766991826913.png" alt="Craige_Hales_0-1766991826913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;vs stacked, which produces the 9 rows (the sampler won't always show all the values, but this time they all fit):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craige_Hales_1-1766992032117.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89860iF96C978B540ECB57/image-size/large?v=v2&amp;amp;px=999" role="button" title="Craige_Hales_1-1766992032117.png" alt="Craige_Hales_1-1766992032117.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Unstacked can collapse the authorID like this (using expression to hold the authorID Col):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Craige_Hales_2-1766992518643.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89862iC84806A89F67FF45/image-size/large?v=v2&amp;amp;px=999" role="button" title="Craige_Hales_2-1766992518643.png" alt="Craige_Hales_2-1766992518643.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can change the author field too, if it helps, but the comma separated list in the character field might be easier to use than an expression for the numeric field. Or you might prefer the authorID_N column names.&lt;/P&gt;
&lt;P&gt;Above, I removed a bunch of columns (to focus on the author columns.) You can select multiple columns in the table view at the bottom and then click any selected Col in the top and change them all to "no column" to remove unwanted columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 07:44:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921631#M108033</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2025-12-29T07:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921647#M108034</link>
      <description>&lt;P class="_tgt transPara grammarSection"&gt;&lt;SPAN class="transSent" data-group="0-0"&gt;I never noticed this option.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;&lt;SPAN class="transSent" data-group="1-0"&gt;This way, it's simple.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;Thanks Experts!&lt;/P&gt;
&lt;P class="_tgt transPara grammarSection"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-12-29_19-20-05.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89877i212D611AE6DDCCCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-12-29_19-20-05.png" alt="2025-12-29_19-20-05.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 11:21:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921647#M108034</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-12-29T11:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921800#M108050</link>
      <description>&lt;P&gt;Can the “stacked / unstacked” option on this interface be added or controlled via JSL? That way, this kind of manual interface operation would not be necessary.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;d1=jsontodatatable(tx,？？);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks Experts!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 09:29:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921800#M108050</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-12-31T09:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How is this regular expression replacement implemented</title>
      <link>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921808#M108051</link>
      <description>&lt;P&gt;Like I did mention already earlier:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/18.2/#page/jmp/file-functions.shtml?os=win&amp;amp;source=application#ww6769160" target="_blank" rel="noopener"&gt;JSON To Data Table(JSON string, (&amp;lt;Private(Boolean)&amp;gt;|&amp;lt;Invisible(Boolean)&amp;gt;), &amp;lt;Guess(Stack(Boolean)|"Tall"|"Wide"|"Huge"|"Pandas")&amp;gt;)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1767175712199.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89985i61B82B14C2680182/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1767175712199.png" alt="jthi_0-1767175712199.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 10:08:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-is-this-regular-expression-replacement-implemented/m-p/921808#M108051</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-31T10:08:55Z</dc:date>
    </item>
  </channel>
</rss>

