title: match only if this is included regex
body: <p>I have a regular expression to match s piece of text with anything in e.g</p>
  
  <p><code>56364657andletters witespace and )(*&amp;-^</code></p>
  
  <p>I want it to only match the group IF it contains [test]
  anywhere in the string e.g</p>
  
  <p><code>random stri[test]ng == True</code>
  or
  <code>ran[test]dom stri[test]ng == True</code></p>
  
  <p>at the moment i'm using python 2.7 if that helps</p>
  
  <p>Thanks in advance!</p>