Hello @dptuck and welcome to the Neo4j community ![]()
You can use the any() function to match your regular expressions:
WHERE any(regex IN ['^abc.*', '.*def$', 'exact'] WHERE obj.text =~ regex)
Regards,
Cobra
Hello @dptuck and welcome to the Neo4j community ![]()
You can use the any() function to match your regular expressions:
WHERE any(regex IN ['^abc.*', '.*def$', 'exact'] WHERE obj.text =~ regex)
Regards,
Cobra
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Contains text in matched to list | 25 | 6937 | December 5, 2020 | |
| How to find a pattern in each element of a list | 6 | 832 | March 11, 2020 | |
| Synonyms: how to match a list property? | 3 | 438 | July 25, 2021 | |
| Find all recipes that contain list of ingredients with regex | 8 | 508 | June 9, 2021 | |
| Alternative Filter using list (Dynamic Approach) | 2 | 522 | June 11, 2020 |