Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

on input inset - afetr 5 digits jquery

<input name="number" onkeyup="if (/^[X]{1}[A-Z0-9]{3}[B]{1}[-][0-9]{6}[-][0-9]{2}$/.test(this.value)) this.value = this.value.replace(/^[X]{1}[A-Z0-9]{3}[B]{1}[-][0-9]{6}[-][0-9]{2}$/,'-')">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #inset #afetr #digits #jquery
ADD COMMENT
Topic
Name
3+2 =