# How to do Phone masking

**URL:** <https://discuss.emberjs.com/t/how-to-do-phone-masking/18077>\
**Category:** Ember CLI\
**Created:** [July 24, 2020, 5:16pm UTC](https://discuss.emberjs.com/t/how-to-do-phone-masking/18077 "2020-07-24T17:16:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdul](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@abdul](https://discuss.emberjs.com/u/abdul)\
**Post date:** [July 24, 2020, 5:16pm UTC](https://discuss.emberjs.com/t/how-to-do-phone-masking/18077/1 "2020-07-24T17:16:59Z")

</div>

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?
