I have a simple EditText where a user can insert three values separated by commas. For instance, I can have the following template:
value1, value2, value3
where value1, value2 are of double type and value3 is integer.
How can I validate that the user has entered a text according to this template?