<?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: data cleaning- special character in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376377#M62626</link>
    <description>&lt;P&gt;Just another approach using regex, but not so easy to understand:&lt;/P&gt;&lt;P&gt;It replaces all occurrences in :column1 that are not digits by "".&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Regex( :Column 1, "[^0-9]", "", GLOBALREPLACE )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_0-1618333592499.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32046i42D4211A2A8B98D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_0-1618333592499.png" alt="Georg_0-1618333592499.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 17:10:08 GMT</pubDate>
    <dc:creator>Georg</dc:creator>
    <dc:date>2021-04-13T17:10:08Z</dc:date>
    <item>
      <title>data cleaning- special character</title>
      <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376249#M62608</link>
      <description>&lt;P&gt;Hi, I have a messy column "zip code" filled with all kinds of special characters. Is there a way I can quickly remove all the special character and leave the string using JMP's function but not jsl? Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AZ23105&lt;/P&gt;&lt;P&gt;,06385&lt;/P&gt;&lt;P&gt;[29466]&lt;/P&gt;&lt;P&gt;@11768&lt;/P&gt;&lt;P&gt;*****10065&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:31:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376249#M62608</guid>
      <dc:creator>joann</dc:creator>
      <dc:date>2023-06-09T00:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: data cleaning- special character</title>
      <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376277#M62611</link>
      <description>&lt;P&gt;I am not aware of a JMP builtin function that will convert the data as needed.&amp;nbsp; However attached is a data table where I have created a new formula column that will remove all non numeric values&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="form2.PNG" style="width: 728px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32030i7591B9CFFA746A1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="form2.PNG" alt="form2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="form.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32031i947A9D98344140DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="form.PNG" alt="form.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 15:17:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376277#M62611</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-13T15:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: data cleaning- special character</title>
      <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376286#M62613</link>
      <description>Thank you Jim! Is there a way to keep the 0 in front of the string? like "06385" but not "6385".</description>
      <pubDate>Tue, 13 Apr 2021 15:19:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376286#M62613</guid>
      <dc:creator>joann</dc:creator>
      <dc:date>2021-04-13T15:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: data cleaning- special character</title>
      <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376311#M62616</link>
      <description>If you make the column a character column, and then change the last line in the formula from&lt;BR /&gt;     Num( Number );&lt;BR /&gt;to just&lt;BR /&gt;     Number;</description>
      <pubDate>Tue, 13 Apr 2021 16:03:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376311#M62616</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-13T16:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: data cleaning- special character</title>
      <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376370#M62623</link>
      <description>It works! Thanks a lot Jim!!</description>
      <pubDate>Tue, 13 Apr 2021 16:46:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376370#M62623</guid>
      <dc:creator>joann</dc:creator>
      <dc:date>2021-04-13T16:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: data cleaning- special character</title>
      <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376373#M62625</link>
      <description>&lt;P&gt;You should also look at the Rows &amp;gt; &lt;A href="https://www.jmp.com/support/help/en/15.2/#page/jmp/recode-data.shtml" target="_self"&gt;Recode&lt;/A&gt; command. It has been significantly enhanced over several recent versions of JMP. Many problems with data (e.g., inconsistency) can be directly handled with the Recode tool now without resorting to formulas or scripts.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 17:05:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376373#M62625</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-04-13T17:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: data cleaning- special character</title>
      <link>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376377#M62626</link>
      <description>&lt;P&gt;Just another approach using regex, but not so easy to understand:&lt;/P&gt;&lt;P&gt;It replaces all occurrences in :column1 that are not digits by "".&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Regex( :Column 1, "[^0-9]", "", GLOBALREPLACE )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_0-1618333592499.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32046i42D4211A2A8B98D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_0-1618333592499.png" alt="Georg_0-1618333592499.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 17:10:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/data-cleaning-special-character/m-p/376377#M62626</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-04-13T17:10:08Z</dc:date>
    </item>
  </channel>
</rss>

