neo4j中匹配以tom开头:
MATCH (n)
WHERE n.name =~ 'Tob.*'
RETURN n
参考: http://neo4j.com/docs/stable/query-where.html#query-where-regex
包含tom:
MATCH (n)
WHERE n.Text =~ '.*tom.*'
RETURN n;
参考: http://stackoverflow.com/questions/23834692/using-regular-expression-in-neo4j