I am sending an email address value to a third party service. I have following regex to validate email addresses:
`^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,})$`
but suppose someone tries to send as email address:
'WQWQQWWQQWQWWQWQQWW@WEOIWEOIEWOIEWIOWEIOEWIOEWPIOWEPOIWEPEWIOPIOWEOIWEOIEWIOWIOEWIOPEWIOPWIOEPIOWPEIOEWOIEWOIPIOEW.COM'
this address is valid and then I get error in response object from the service. My question is, what can be the possible maximum character limit for the domain part?