title: Neo4j Cypher query - query property array with regular expression
body: <p>I have a Neo4j database (2.0.3). I am currently using Cypher to run some test queries on my dataset. I have a set of records that have a property containing an array of names. I want to be able to search this array of names, while also using a basic reg-ex to do so. Is this at all possible within cypher? If not how do you reccommend going about this?</p>
  
  <p>Something that would combine both of these queries:</p>
  
  <pre><code> MATCH (s:Record) WHERE "John" IN s.name RETURN s;
   MATCH (s:Record) WHERE s.name =~ '(?i).*john.*)' RETURN s;
  </code></pre>