Regular Expression Example in Java To Check Numeric Str

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Java supports Regular Expression, which can be used to do wonders. Regular expression is very powerful tool on text processing, you can check if a str

Statistics

  • Total Hits - 27137

  • Total Votes - 104 votes

  • Vote Up - 45 votes

  • Vote Down - 59 votes

  • Domain - javarevisited.blogspot.sg

  • Category - JAVA/JAVA Misc

  • Submitted By - Javin Paul

  • Submitted on - 2013-04-13 09:44:59

Description

Java supports Regular Expression, which can be used to do wonders. Regular expression is very powerful tool on text processing, you can check if a string contains a particular word, if string is date, if string is number or if a string represent an email, pincode etc etc. This Regular example in Java shows a way to check if a String is numeric or not. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements