I\'m using case statement and REGEXP_CONTAINS.Just wanted to see if the following order will give me the correct output.
(CASE WHEN REGEXP_CONTAINS(AdSet, \'(?
Seems correct if you want case insensitive search for the keyword, while in general, string functions are more efficient than REGEX functions, consider to:
REGEXP_CONTAINS(AdSet, '(?i)BUS') THEN "BUS" => STRPOS(UPPER(AdSet), 'BUS') <> 0 THEN "BUS"