I have a field (column in Oracle) called X that has values like \"a1b2c3\", \"abc\", \"1ab\", \"123\", \"156\"
how do I write an sql query that returns me only the X
The complete list of the regexp_like and other regexp functions in Oracle 11.1:
http://66.221.222.85/reference/regexp.html
In your example:
SELECT X FROM test WHERE REGEXP_LIKE(X, '^[[:digit:]]$');