Its probably going to be used in a RegularExpressionValidator ( client side ) aspx file, so it pretty much has to be a straight regularexpression, cant use any string methods. I will try that latest regex and see what happens.