• Post Reply Bookmark Topic Watch Topic
  • New Topic

regular expression  RSS feed

 
Prasanna Kumaar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have String say Str it usually has a 10 digit number..how to test it contains numbers between 0-9 only
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the documentation for Pattern and gone through this tutorial? What have you tried and what was the result?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!