This question has already been answered:
For example, for the numerical value of the type of card number I use:
/[^0-9]/ It removes from the received string all characters except digits. \
Please tell me the pattern for the Skype username, to be honest, I don’t know what characters are allowed there, maybe underscores, maybe points, maybe not.