To explain my question better, I need to validate the format of a string of characters, for example:
the user should enter in the text field: 6412365-4 valid that the number is correct by applying module 11.
but I want that if the user enters: 24563254 send me a message because the format should be 0000000-0
How to compare the value entered with the format I need?