BigQuery REGEX_MATCH Equivalent
I'm trying to create a query that will select everything\nthat is not matching a given regex
\n\nIn legacy, we had REGEX_MATCH so I was able to do \nWHERE x NOT REGEX_MATCH("[a-z]")
In BigQuery Standard SQL you should use REGEXP_CONTAINS(value, regex)
instead
For example
\n\nWHERE NOT REGEXP_CONTAINS(x, r'[a-z]')\n
Ryan-Dallas
posted onEnjoy great content like this and a lot more !
Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds
Post Comment