I am trying to extract phone number in java from the given String i.e. the phone number can be anywhere in the String like [bla bla]TELEPHONE NUMBER[bla bla]
.Now I want to extract this telephone number in another String.
While using the
matcher.matches()
it returns me true or false but I am not getting the phone number which it gets extracted.