Android Question Get a input hint generated for a certain regex

Michael2150

Member
Licensed User
Hi this isn't an important question more just out of interest, but I was wondering if there is some sort of algorithm that could generate an input hint for something like an edittext. This hint should be derived from a regex. For example the regex input being "^(?=.*[1-9].*)[0-9]{3}$" and the output being something like, "input a 3 digit number from 000 - 999". It would be really interesting to try and work on something like this as I can't find anything similar online
 

Michael2150

Member
Licensed User
Thanks Erel I had a look at that and its a very useful class and it could really help with deconstructing a regex in some way I haven't figured out yet and play around with ouputs to the user to fill in the correct input.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…