Still having trouble with $regex*

$regexFind: {input: "1 elephant", regex: ".*(\d+).*"} seems to return null. What is wrong here?

I see. It’s the documentation that’s broken. Doesn’t work if the regex is in quotes, has to be / /

1 Like

Hi @Jack_Woehr,

I would recommend you to go through the following regex cheatsheet:

Please feel free to reach out if you have any questions.

Thanks,
Sonali