By default, Cypher works on an exact match, which is case sensitive in nature. Many times we will know the pattern we want to match, but not the exact value. In this recipe, we will learn to use regex with a Cypher query.
To work through this recipe, you will need to create the nodes and relationships for which data has been provided with the code files.
We have divided this recipe into the following problem sets:
Airportnames starting with the letter
MATCH (n) WHERE "Airport" in LABELS(n) AND n.name =~ '^H.*' RETURN n
You can also specify a label along with the node, as shown in the following code:
The following screenshot shows the ...