title: Regex to match a pattern in a given text
body: <p>Given Sample Text -</p>
  <blockquote>
  <p>This is just testing user1 (Dreamer: db-vd) test test user 2
  (company1) (Super: ab-cd1): user_lore set from 'Sc' to 'Re', Ext PID
  hit from '' to 'tom.hanks1@tt.com', Make O profiles disabled, Make A
  Groups enabled, Shift P configurations enabled, A groups set from
  'abc' to 'abc'</p>
  </blockquote>
  <p>Pattern to find in the above text -</p>
  <pre><code>Ext PID hit from '' to 'tom.hanks1@tt.com'
  </code></pre>
  <p>Need to take care that <code>tom.hanks1</code> before @ is a variable and could be anything like <code>brad_pitt2</code> or <code>abc.abc123</code></p>
  <p>If the regex pattern is present in the text then I need to do something. What I came up with is given below:</p>
  <pre><code>/Ext PID hit from \'\' to \'.*@tt\.com\'/
  </code></pre>
  <p>Doesn't look effective so need help with the regex to be used! Appreciate it.</p>