What\'s the regular expression to check if a string starts with \"mailto\" or \"ftp\" or \"joe\" or...
Now I am using C# and code like this in a big if with many ors
I really recommend using the String.StartsWith method over the Regex.IsMatch if you only plan to check the beginning of a string.
In your case you should use regular expressions only if you plan implementing more complex string comparison in the future.