<?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 extract the string which is between the two different special characters using regex in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-string-which-is-between-the-two-different/m-p/690276#M235112</link>
    <description>&lt;P&gt;This line works for this specific example&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "\.(?&amp;lt;extacted_fieldname_here&amp;gt;\w+);"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Assuming that your targeted extraction field always lies between the period and semi-colon I think it should do it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dtburrows3_0-1718055318436.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31261iB7417C58160336B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dtburrows3_0-1718055318436.png" alt="dtburrows3_0-1718055318436.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;the "\w+" could potentially need to be change depending on what the characters are between the 2 special characters. But for this example it looks to be camelCase so \w+ should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 21:38:57 GMT</pubDate>
    <dc:creator>dtburrows3</dc:creator>
    <dc:date>2024-06-10T21:38:57Z</dc:date>
    <item>
      <title>How to extract the string which is between the two different special characters using regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-string-which-is-between-the-two-different/m-p/690270#M235109</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I need to&amp;nbsp;extract the string which is between the two different special characters using regex. Could you please assist on this? Thank you. Here is the string below where I need to extract the string &lt;STRONG&gt;provisionById &lt;/STRONG&gt;which is between the semicolon and period charcter.&lt;/P&gt;&lt;P&gt;Method End: com.bi.gb.rest.endpoint.PolicyAdminEndPoint.provisionById;&amp;nbsp; Execution Time: 7&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 21:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-string-which-is-between-the-two-different/m-p/690270#M235109</guid>
      <dc:creator>SureshkumarD</dc:creator>
      <dc:date>2024-06-10T21:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the string which is between the two different special characters using regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-string-which-is-between-the-two-different/m-p/690276#M235112</link>
      <description>&lt;P&gt;This line works for this specific example&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "\.(?&amp;lt;extacted_fieldname_here&amp;gt;\w+);"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Assuming that your targeted extraction field always lies between the period and semi-colon I think it should do it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dtburrows3_0-1718055318436.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31261iB7417C58160336B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dtburrows3_0-1718055318436.png" alt="dtburrows3_0-1718055318436.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;the "\w+" could potentially need to be change depending on what the characters are between the 2 special characters. But for this example it looks to be camelCase so \w+ should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 21:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-string-which-is-between-the-two-different/m-p/690276#M235112</guid>
      <dc:creator>dtburrows3</dc:creator>
      <dc:date>2024-06-10T21:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract the string which is between the two different special characters using regex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-string-which-is-between-the-two-different/m-p/690346#M235137</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263242"&gt;@dtburrows3&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your prompt response and it worked. Really appreciate your assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 14:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-string-which-is-between-the-two-different/m-p/690346#M235137</guid>
      <dc:creator>SureshkumarD</dc:creator>
      <dc:date>2024-06-11T14:39:26Z</dc:date>
    </item>
  </channel>
</rss>

