ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Show special characters #

Open ganeshjangam opened this issue 7 years ago • 1 comments

Hello,

Tried multiple ways but not able to apply masking for this value : 123451234512345123451234512345123

its a secrete code and Expected mask like this : ###.#####.####.######.######.####.#####

How can i do this ? Please guide.

ganeshjangam avatar Dec 24 '18 14:12 ganeshjangam

@ganeshjangam you can use secure mask, for this you define custom pattern for instance: custom pattern: Z: { pattern: new RegExp('\d'), symbol: '#' }

mask expression: ZZZ.Z0.0000

AlexeyDolya avatar Mar 29 '19 16:03 AlexeyDolya