title: Regex in R: Attempting to use qdapRegex package
body: <p>I am trying to extract multiple sql queries from a large text file.  The queries all start with the report heading followed by the sql code like this ( <strong>{"app":</strong> ) and end like this ( <strong>"cid":</strong> ).  I am extremely new to regex and do not have a solid grasp on when to use escape characters and so on.  I am using the ex_between() function from the qdapRegex package in R and my code is as follows.</p>
  
  <pre><code>sql2 &lt;- ex_between(sql, left = "{/"app/":", right = "/"cid/":", extract = T, 
       include.markers = T)
  </code></pre>
  
  <p>Would someone mind to correct my code or point in the right direction??</p>
  
  <p>Thank you very much for your time.</p>