Monday, January 28, 2019


                   package seleniumrepo;

                          public class ExtractNumerics{
                              public static void main(String[] args) {
                                      ExtractNumerics e=new ExtractNumerics();
                                      e.getInteger("!@#123HHGasd");
                              } 
                              public void getInteger(String str) {
                                     str=str.replaceAll("[^0-9]", "");
                                     System.out.println(str);
                             }
                         }

0 comments:

Post a Comment

selenium-repo by venu

Blog helps to a student or IT employee to develop or improve skills in Software Testing.
For Online Classes Email us: gadiparthi122@mail.com

Followers

About Me

My photo
Hyderabad, Andhra Pradesh, India
I am Automation Testing Professional. I have completed my graduation in B.Tech (Computers) from JNTU Hyderabad and started my career in Software Testing accidentally since then, I passionate on learning new technologies

Contact Form

Name

Email *

Message *

Popular Posts