<?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 remove different pattern of strings from log in one formula in Community Discussions</title>
    <link>https://community.jmp.com/t5/Community-Discussions/remove-different-pattern-of-strings-from-log-in-one-formula/m-p/631239#M313</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to remove few patterns of string from log.&lt;/P&gt;&lt;P&gt;example of log:&lt;BR /&gt;[01/19/23 04:06:37 PM] [INFO ] [text.text:__text__:&amp;lt;text&amp;gt;():280]: [ 25.053966] text: text text text:&lt;/P&gt;&lt;P&gt;[ 19.620450] text_text 0000:42: text 2 [text text text 0x2045ffff] 0x0aa00100f&lt;/P&gt;&lt;P&gt;Patterns I want to remove or replace with "":&lt;/P&gt;&lt;P&gt;1) all special characters&lt;/P&gt;&lt;P&gt;2) date and time&lt;/P&gt;&lt;P&gt;3) any hex or strange address number like x2045ffff or 0x0aa00100f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the way I'm doing now is using substitute or regex to remove one type by one type (1-3), so I have 3 columns created. is it possible to combine all in one formula (one column)?&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 23:46:38 GMT</pubDate>
    <dc:creator>dadawasozo</dc:creator>
    <dc:date>2023-05-11T23:46:38Z</dc:date>
    <item>
      <title>remove different pattern of strings from log in one formula</title>
      <link>https://community.jmp.com/t5/Community-Discussions/remove-different-pattern-of-strings-from-log-in-one-formula/m-p/631239#M313</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to remove few patterns of string from log.&lt;/P&gt;&lt;P&gt;example of log:&lt;BR /&gt;[01/19/23 04:06:37 PM] [INFO ] [text.text:__text__:&amp;lt;text&amp;gt;():280]: [ 25.053966] text: text text text:&lt;/P&gt;&lt;P&gt;[ 19.620450] text_text 0000:42: text 2 [text text text 0x2045ffff] 0x0aa00100f&lt;/P&gt;&lt;P&gt;Patterns I want to remove or replace with "":&lt;/P&gt;&lt;P&gt;1) all special characters&lt;/P&gt;&lt;P&gt;2) date and time&lt;/P&gt;&lt;P&gt;3) any hex or strange address number like x2045ffff or 0x0aa00100f&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the way I'm doing now is using substitute or regex to remove one type by one type (1-3), so I have 3 columns created. is it possible to combine all in one formula (one column)?&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 23:46:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Community-Discussions/remove-different-pattern-of-strings-from-log-in-one-formula/m-p/631239#M313</guid>
      <dc:creator>dadawasozo</dc:creator>
      <dc:date>2023-05-11T23:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: remove different pattern of strings from log in one formula</title>
      <link>https://community.jmp.com/t5/Community-Discussions/remove-different-pattern-of-strings-from-log-in-one-formula/m-p/631307#M314</link>
      <description>&lt;P&gt;If you have working solution, you can combine all of those into single formula by chaining those expressions.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Substitute(Regex(Substitute(str, "!", "")," ", "", GLOBALREPLACE), "123", "");
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or using variables&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;str1 = Substitute(str, "!", "");
str1 = Regex(str1, " ", "", GLOBALREPLACE);
Substitute(str1, "123", "");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I also attached data table with the formulas&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 04:05:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Community-Discussions/remove-different-pattern-of-strings-from-log-in-one-formula/m-p/631307#M314</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-12T04:05:04Z</dc:date>
    </item>
  </channel>
</rss>

