^N.*(?!00$) matches NZ31200 ^N.*?(?!00$) matches N (of NZ31200) so ??