title: Regular expression - return string after equal sign and before a pipe
body: <p>I attempted to resolve this on my own, but I need some help. </p>
  
  <p>I have a strong that is located in my syslogs - and while I know grep would be easier, I have my reasons for building a regular expression. </p>
  
  <p>For example:   <code>somerandomstufffilter-category=Web_Advertisements|andhereis more random stuff</code> </p>
  
  <p>In that garbled mess, there is an exact string <code>'filter-category=Web_Advertisements|'</code></p>
  
  <p>I created this regex:     <code>(filter-category=).*?(?=["|"])</code></p>
  
  <p>Which pulls the exact string I want, and up to the pipe. Instead of giving me the entire string, I only want everything after the equal sign (and not include it in my match), and before the pipe. </p>
  
  <p>Right now I am getting:    <code>'filter-category=Web_Advertisements'</code>
  What I want to get is:   <code>'Web_Advertisements'</code> on its own. The trick is that whatever follows filter-category, can be anything, not just Web-Advertisements. That is why it MUST end with the first pipe it encounters. </p>