I am matching three patterns described below, they all are independent. Follow the hyperlinks to see demonstration in regex playground.
Pattern: /(?<=^[^.]*\.[^.]*)\..*/g, matches everything beginning from second ..
Pattern: /(?<=\.\d{2}).*/g, for input characters that are /[0-9.]/g only, matches everything beginning from 3rd digit after first ..
Pattern: /(?<=\.\d{4}).*/g, for input characters that are /[0-9.]/g only, matches everything beginning from 5th digit after first ..
I am not able to do this without using lookbehind in JS.