How to create an input field mask in Vue3 using regex for vehicle registration number? I found the solution for masking telephone numbers but when I mix the regex with alphabets it doesn't work at all.
Is it possible to create a mask for something like AAA-000 i.e. first three inputs as alphabets and the last three as numbers separated by '-'?
Answer:
Daniel's answer worked like the charm in my case. Just if anyone is searching for the same here is the link : https://github.com/beholdr/maska