title: What would the the RegEx sequence to replace all the substrings before the pattern?
body: <p>This is the text string.</p>
  <blockquote>
  <p>&quot;9020  &gt;  49784 [ACK] Seq=1 Ack=1 Win=1869 Len=1388 TSval=467182 TSecr=366189450&quot;</p>
  </blockquote>
  <p>I want to remove all the parts of the substring before Seq= part. I have thought of using .sub function of RegEx in Python but cannot formulate the pattern. The pattern should be every character or number would be selected until Seq= comes.</p>
  <p>Sample Code:</p>
  <pre><code>import re
  
  #I want to remove everything that comes before &quot;Seq=&quot; part using Regex
  
  txt = &quot;9020  &gt;  49784 [ACK] Seq=1 Ack=1 Win=1869 Len=1388 TSval=467182 TSecr=366189450&quot;
  x = re.compile(???)
  txt = regex.sub(&quot;Seq=&quot;,txt)
  </code></pre>
  <p>What should be the pattern in the ??? position of x=re.compile(???) part</p>