title: Use regular expressions on scrapy selectors
body: <p>I'm scraping data from <a href="https://www.google.com/search?q=google%20reviews%202nd%20chance%20treatment%2040th%20street&amp;rlz=1C1JZAP_enUS697US697&amp;oq=google%20reviews%202nd%20chance%20treatment%2040th%20street&amp;aqs=chrome..69i57j69i64.6183j0j7&amp;sourceid=chrome&amp;ie=UTF-8#lrd=0x872b7179b68e33d5:0x24b5517d86a95f89,1" rel="nofollow noreferrer">this google page</a>: </p>
  
  <p>To get the reviews I don't have any issue since all are in a class called: "review-full-text" then I'm just using this xpath to get them:</p>
  
  <pre><code>review.xpath('//*[@class="review-full-text"]//text()').extract()
  </code></pre>
  
  <p>But need to get the responses as well, and in this case, the name of the class is not consistent, e.g. for the first review the response is in the class:</p>
  
  <pre><code>LfKETd r-id3h0OaXd7RA
  </code></pre>
  
  <p>But for the second one the class name is: </p>
  
  <pre><code>LfKETd r-iGpfKJm1EL2o
  </code></pre>
  
  <p>Which has the first part of the name fixed "LfKETd r-" the rest change for each response. Is it possible to use a regular expression inside the xpath like: "LfKETd r-.*" or any other way to match the class name for each response? </p>