Custom Mask in Inputs

hello.

I need to put tags on some fields on the form.

for instance:

00000-000
000.000.000-00
00.000.000/0000-1
0000000-0000.0.00.0000

These are some templates I need

I didn’t find anything about this in the documentation

I added the code in the client script, in the example below I put the mask of 00.000.000/0000-00

let formattedCNPJ = cnpj.replace(/^(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})$/, “$1.$2.$3/$4-$5”);