I have to validate version number pattern for following examples:
A1
aabc1
AabC134
aabc12.2
aA1.2.3
0.1.1
0.0.2
a.b.c
a.1.2
a.0.0
1.0.0
1.0
1
Basically it should allow alphanum in all three parts (split parts by dot) but it cannot be:
0
0.0.0
000.000.000
0000.00.00
I have tried this regex but it allows zeros:
/([A-Za-z\d]+)?(.*[A-Za-z\d]+)?(.*[A-Za-z\d]+)$
Can it be modified to achieve above results?

/^(?![0.]+$)[A-Za-z0-9]+(?:\.[A-Za-z0-9]+){0,2}$/, see this demo.0and0.0.0etc