javax big int validation in spring boot for phone number code example Example: javax big int validation in spring boot ^(?:(?:\+|0{0,2})91(\s*[\-]\s*)?|[0]?)?[789]\d{9}$