use regex in if statement java

Solutions on MaxInterview for use regex in if statement java by the best coders in the world