Common Content for Data Engineering
- Common Content for Data Engineering 10.5.1
- All Products
REG_MATCH(subject,pattern)
Argument
| Required/
Optional
| Description
|
---|---|---|
subject
| Required
| String datatype. Passes the value you want to match against the regular expression pattern.
|
pattern
| Required
| String datatype. Regular expression pattern that you want to match. You must use perl compatible regular expression syntax. Enclose the pattern in single quotes. For more information, see
REG_EXTRACT.
|
REG_MATCH (Phone_Number, '(\d\d\d-\d\d\d-\d\d\d\d)' )
|
|
---|---|
|
|
| |
|
|
|
|
|
|
|
|
|
|
REG_MATCH(ACCOUNT_NUMBER, ‘1835.*’)
REG_MATCH(LAST_NAME, ‘[a-zA-Z]+’)