Hi everyone, I have a textbox which holds numbers like e.g., xxxxxx I wonder how to change that value entered by the user to xx-xx-xx. I'm trying several regular expressions like: OpNumbers.Replace(OpNumbers, "^(\d{6}|(\d{2}-\d{2}-\{2}))$") and also : Format(lblOPReferenceNumber.Text.Trim, "## - ## - ##"). I'm not getting the output that need it. I'm pretty sure that I might be doing something wrong at some point. Thank you for you help. Venecos
V
Venecos
@Venecos