title: How to create regular expression with \ on the source
body: <p>Help on how to create regular expression to extract data in JMeter.</p>
  
  <p>Data to be extracted from:
  <code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;ruleset id=\"8DEF7F30-165B-2C44-219E-DB7938283CD4\" locale=\"en\"&gt;\n\t&lt;baseQuestions id=\"life\"&gt;</code></p>
  
  <p>I need a regular expression that can extract the ruleset id from eg above.</p>
  
  <p>Here are the regular expressions that i tried to use:
  <code>*ruleset id=\"(.+?)\"</code>
  <code>*ruleset id=[^\\",]+</code>
  <code>*"ruleset id"=\"(.+?)\"</code></p>
  
  <p>I tried other variations not I keep getting no match.</p>