<?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 write the regex with mode=sed in a search to mask part of credit card numbers? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262481#M78794</link>
    <description>&lt;P&gt;Please write your search (for masking like ############2222) - we could modify it&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2016 09:44:27 GMT</pubDate>
    <dc:creator>lukasz92</dc:creator>
    <dc:date>2016-05-24T09:44:27Z</dc:date>
    <item>
      <title>How to write the regex with mode=sed in a search to mask part of credit card numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262480#M78793</link>
      <description>&lt;P&gt;I need help with one particular search for masking credit card numbers, but with this output 22222#######2222. I know how to manage search for ############2222, but don't know how to mask between numbers.&lt;/P&gt;

&lt;P&gt;Thanks, cheers&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 09:20:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262480#M78793</guid>
      <dc:creator>gagi76</dc:creator>
      <dc:date>2016-05-24T09:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the regex with mode=sed in a search to mask part of credit card numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262481#M78794</link>
      <description>&lt;P&gt;Please write your search (for masking like ############2222) - we could modify it&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 09:44:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262481#M78794</guid>
      <dc:creator>lukasz92</dc:creator>
      <dc:date>2016-05-24T09:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the regex with mode=sed in a search to mask part of credit card numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262482#M78795</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;mod=sed "s/(\\d{12})/############/g"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2016 09:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262482#M78795</guid>
      <dc:creator>gagi76</dc:creator>
      <dc:date>2016-05-24T09:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the regex with mode=sed in a search to mask part of credit card numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262483#M78796</link>
      <description>&lt;P&gt;Something like &lt;CODE&gt;mod=sed "s/(\\d{5})(\\d{7})(\\d{4})/\\1############\\3/g"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Will rewrite first match, write hashes and third match&lt;/P&gt;

&lt;P&gt;edited; I forgot about escaping \&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 10:01:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262483#M78796</guid>
      <dc:creator>lukasz92</dc:creator>
      <dc:date>2016-05-24T10:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write the regex with mode=sed in a search to mask part of credit card numbers?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262484#M78797</link>
      <description>&lt;P&gt;It's great, thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 10:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-the-regex-with-mode-sed-in-a-search-to-mask-part-of/m-p/262484#M78797</guid>
      <dc:creator>gagi76</dc:creator>
      <dc:date>2016-05-24T10:11:16Z</dc:date>
    </item>
  </channel>
</rss>

