title: Regex fomatting and design for a query
body: <p>I'm having a some trouble formatting my regular expression for my PHP code using preg_match().
  I have a simple string usually looking like this:</p>
  
  <p>"q?=%23asdf". </p>
  
  <p>I want my regular expression to only pass true if the string begins with "q?=%23" and there is a character at the end of the 3. So far one of the problems I have had is that the ? is being pulled up by the regex so doing something like </p>
  
  <p>^q?=23 doesn't work. I am also having problems with contiguous searching in Regex expressions (because I can't figure out how to search after the 3).</p>
  
  <p>So for clarification: "q?=%23asd" should <strong>PASS</strong> and "q?=%23" should <strong>FAIL</strong></p>
  
  <p>I'm no good with Regex so sorry if this seems like a beginner question and thanks in advance.</p>