I\'m trying to write a regex for country code, which should limit to four characters maximum, only symbol allowed is a + sign. When the + is used, the + has to be in the beg
country codes can be of following types
The javascript regex that makes sure that the input is one if the
/^\+(\d{1}\-)?(\d{1,3})$/