1

I read about regular expression in java, if I understood correctly,I can check a string with some my regulars of regex. I want to set input mask (phone,credit card,email...) for EditText:

Credit card - regex "###########"

Phone number - regex "############"

Is it possible to control input type mask of EditText with regex?

ABDUAHAD
  • 344
  • 2
  • 13

0 Answers0