I want to search my response field to find any instance where a dollar sign $ is not followed by a numerical value. 1 or 2 spaces before a numerical value is ok, but there shouldn't be any text values following $.
I have the following query below:
SELECT * FROM RESPONSES
WHERE (regexp_like(response, '(\$)(\s){1,2}[^0-9]'));
This should be able to identify responses that have "$ NA". Most responses will contain a combination of $ followed by numeric values and $ by text values.
I've tried a couple of variations of the above query without any success. Any thoughts?