This for matching full string:
/^A\.\d{8}.\d{3}$/
to match part of string remove ^ or $.
solved Please tell me JavaScript RegEx for : A.12345678.123 that is start with ‘A.’ followed by 8 digits [0-9] followed by ‘.’ and again by 3 digits[0-9] [closed]