Posts by Dennys Santos Sobrinho • 1 point
1 post
-
0
votes1
answer1598
viewsA: Validation of RNE (National Aliens Registry) or CIE (Alien Identity Card)
I solved RG / RNE validation and formatting with this code: function formatarRG(input, teclapres) { var numeroRG = input.value.trim().toUpperCase().replace(/[^\dX]/g, ''); var numeroRNE =…