I'm trying to make a NFA of regex ^[a-zA-Z0-9]{3,16}$. I've understood that this regex means the language will only accept strings of length 3 to 16 which may include a to z, A to Z or 0 to 9.
I've tried to make this but the main issue I'm facing is how I can make the condition that it can only go to final state if string length is 3 or 16 and gets discarded otherwise. Any help would be appreciated.
Here's my attempt in which you can see the (3,16) on state 5 which I think is not a valid way to draw a NFA.