I'm trying to only match few ID's where there are either one or two alphabets at the end
Example:
ny12345d ---to be matched
ny12345dc -- to be matched
ny12346T01 --not to be matched
ny12346dfA --not to be matched
ny12345 ------not to be matched
so far I came up with this
/[^0-9]*$/g