cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

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

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

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