Need help getting started with regexmatch #980
-
When I use regexmatch with text from a task I am able to match only when I use the full string as is but If I use any of the meta characters or quantifiers the result is empty. What am I doing wrong? For e.g but if I do this, the result is empty. This is the case even if I use simple \d or .w+ . I feel like I maybe doing a basic mistake but I cannot find it through docs. Any help would be helpful? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I just realized after watching this video at 6:40 mark that regex should be on the left and text should be on the right. When I did the following it worked, |
Beta Was this translation helpful? Give feedback.
I just realized after watching this video at 6:40 mark that regex should be on the left and text should be on the right.
When I did the following it worked,
TASK
WHERE regexmatch("\d{3}.+",text)