c# regex 10 digit phone number code example Example: phone number regex in c# ^\+?(\d[\d-. ]+)?(\([\d-. ]+\))?[\d-. ]+\d$