REGEXP_MATCH
Syntax
REGEXP_MATCH( string, pattern )
Description
Returns 'TRUE' if the string string
has a substring that matches the regular expression pattern pattern
.
Argument types:
string
—String
pattern
—String
Return type: Boolean
Note
See the documentation of the data source to clarify the regular expression syntax. For example, ClickHouse
uses the RE2 syntax
Example
REGEXP_MATCH("RU 912873","\w\s\d") = TRUE
Data source support
ClickHouse 21.8
, MySQL 5.7
, Oracle Database 12c (12.1)
, PostgreSQL 9.3
.