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: numbers and letters allowed

WestDraytonFeb 8 2010 — edited Apr 16 2010
How can i determine best way following: input string may contain only numbers and letters, letters can be from any alphabet.
Examples:
'123aBc' - correct, only numbers and letters
'123 aBc' - wrong, contains space
'123,aBc' - wrong, contains comma
'öäüõ' - correct, contains letters from Estonian alphabet.
'abc' - correct, contains letters from english alphabet.

I think i should use function "regexp_like" for that, because LIKE-operator can't do such things, correct?

How i should write the regular expression then? I'm new to reg expressions.
This post has been answered by Arunkumar Ramamoorthy-Oracle on Feb 8 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2010
Added on Feb 8 2010
16 comments
7,332 views