Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Regular Expression - Invalid characters

565004Mar 19 2007 — edited Mar 21 2007
I have a varchar2(10) field that I need to query out records that contain any character NOT in the following list of characters.

1. alpha (any case)
2. numeric
3. space
4. &
5. - (hypen)
6. *
7. . (period)
8. ' (single quote)
9. (
10. )
11. , (comma)
12. #
13. /

Example:

When run against the below data it would only select the record with the % in it.

a8*-
1234
a8#kd
u%oO9

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 18 2007
Added on Mar 19 2007
6 comments
878 views