cancel
Showing results for 
Search instead for 
Did you mean: 

Week 2: Regex Help

Bennu
Graph Fellow

Hi everyone,

I tried the regex expression shared in the Experiencied challenge but It's not working as expected with apoc.text.regexGroups. It gives no match.

apoc.text.regexGroups(row.Dimensions, '\\(( *[0–9]+(\\.[0–9]+)*( *[xX] *[0–9]+(\\.[0–9]+)*)) *cm\\)')

Any idea about what I may be doing wrong?

Thanks,

Harold

3 REPLIES 3

lju
Neo4j
Neo4j

Hi Harold,

Thanks for flagging this - Medium did strange things to the code block. I have made an adjustment to the blog post.

Cheers,

Lju

Bennu
Graph Fellow

Yeah, I was just planning to erase the post. I realized that 'minus' char was modified by Medium.

If you're getting stuck, good chance others will too. Thank you for highlighting it

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.