Skip to Main Content

Java Development Tools

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 for phone validation

886344Sep 6 2011 — edited Sep 6 2011
Hi

I need to apply validation for phone numbers where [0-9]-12 digits , [+] , [,] , [.] and space are allowed.
i am used \d+[+]+[0-9]{10}[,]+[.] but not getting the correct validation.

My validation is user can able to type [+] or [,] or [.] or space in between the numbers too.

Please HELP...

Thanks
Sudeep
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2011
Added on Sep 6 2011
9 comments
1,798 views