title: regex matching in splunk
body: <p>I'm trying to match regular expression say <strong>29f4b320-ae87-44b3-8834-509d0505c12e</strong><br>
  this kind of number.</p>
  
  <p>I'm providing user a text box where he might enter numbers like c12e ,  -44b3-  etc.
  and it should match as whole and event if these exists as  part. since above two inputs exist in 29f4b320-ae87-44b3-8834-509d0505c12e it should match.<br>
  but in case of beginning with hyphen or ending with hyphen its ignoring.<br>
  How to ignore hyphen and still match?</p>
  
  <p>Xml code </p>
  
  <pre><code>&lt;view onunloadCancelJobs="False" autoCancelInterval="100"&gt;
  &lt;label&gt;Search&lt;/label&gt;
  
  &lt;!-- Beginning of Chrome --&gt;
  &lt;module name="AccountBar" layoutPanel="appHeader" /&gt;
  &lt;module name="AppBar" layoutPanel="navigationHeader"/&gt;
      &lt;module name="SideviewUtils" layoutPanel="appHeader" /&gt; 
       &lt;module name="Message" layoutPanel="messaging"&gt;
    &lt;param name="filter"&gt;*&lt;/param&gt;
    &lt;param name="clearOnJobDispatch"&gt; False&lt;/param&gt;
    &lt;param name="maxSize"&gt;1&lt;/param&gt;
  &lt;/module&gt; 
  &lt;module name="TitleBar" layoutPanel="viewHeader"&gt;
   &lt;param name="actionsMenuFilter"&gt;dashboard&lt;/param&gt; 
  &lt;/module&gt;
  
  &lt;!-- End of Chrome --&gt;
  &lt;module name="HiddenSearch" layoutPanel="mainSearchControls"&gt;
      &lt;param name="search"&gt;sourcetype=insight/insight.lntinfotech/INSPRODSP *$target$*&lt;/param&gt;
      &lt;module name="ExtendedFieldSearch"&gt;
   &lt;param name="intention"&gt;
   &lt;param name="name"&gt;stringreplace&lt;/param&gt;
   &lt;param name="arg"&gt;  
     &lt;param name="target"&gt;
        &lt;param name="default"&gt;500&lt;/param&gt;
     &lt;/param&gt;
    &lt;/param&gt;
   &lt;/param&gt;
   &lt;param name="replacementMap"&gt;
   &lt;param name="arg"&gt;
  &lt;param name="target"&gt;
  &lt;param name="value"&gt;&lt;/param&gt;
  &lt;/param&gt;
  &lt;/param&gt;
  &lt;/param&gt;
  &lt;param name="field"&gt;Wildcard search&lt;/param&gt;
   &lt;module name="EventsViewer" layoutPanel="resultsAreaLeft"&gt;
  &lt;param name="segmentation"&gt;full&lt;/param&gt;
  &lt;/module&gt;
  &lt;/module&gt;
  &lt;/module&gt;
  &lt;/view&gt;
  </code></pre>