How to do Phone masking

I have a Phone number field that I want to do masking for, can somebody please help me in this regards?

I am using masked-input like this, but still its not working.
{{masked-input mask=’(999) 999-9999’ value=model.Address.Phone input-format=‘regex’ input-filter=’(*[0-9]{3}) [0-9]{3}-[0-9]{4}’ input-filter-message=‘Phone number is not valid.’ class=‘form-control phone masked’ maxlength=“14”}}

Any idea or help please?