Hello. I'm looking for the solution to this exercise using a regular expression. Here are the instructions:
- Retrieve all movies in the database that have love in their tagline and return the movie titles
- Retrieve movies in the database, specifying a regular expression for the content of the tagline .
Here's what I tried:
MATCH (m:Movie)
WHERE m.tagline =~'love'
RETURN m
and
MATCH (m:Movie)
WHERE m.tagline =~'love.*'
RETURN m
Both returned (no changes, no records)
.
Thanks for any insight. :)