public static bool ValidatePhoneNumber(string number) { return Regex.Match(number, \"^(\\+44\\s?7\\d{3}|\\(?07\\d{3}\\)?)\\s?\\d{3}\\s?\\d{3}$\", RegexOptions.Ignore
Try using this:
^(\+44\\s?7\\d{3}|\(?07\\d{3}\)?)\\s?\\d{3}\\s?\\d{3}$
In order for the regex to recognize the \s, \d, etc you need to put double slash \\. If not you'll get an illegal escape character error.
\s
\d
\\
illegal escape character