I think something like this will get you close:
- Ensures all characters beyond the second character are numbers
- Ensures entry is at least 8 characters long
- Ensures entry is no more than 20 characters long
- Ensures the first character is a number or a letter
- Ensures the second character is a number or a letter
AND(LEN(MID(TEXT([MLS]),3,LEN(TEXT([MLS]))))=LEN(EXTRACTNUMBERS(MID(TEXT([MLS]),3,LEN(TEXT([MLS]))))),LEN(TEXT([MLS])) >= 8,LEN(TEXT([MLS])) <= 20,
IN(UPPER(LEFT(TEXT([MLS]), 1)), {βAβ, βBβ, βCβ, βDβ, βEβ, βFβ, βGβ, βHβ, βIβ, βJβ, βKβ, βLβ, βMβ, βNβ, βOβ, βPβ, βQβ, βRβ, βSβ, βTβ, βUβ, βVβ, βWβ, βXβ, βYβ, βZβ, β0β, β1β, β2β, β3β, β4β, β5β, β6β, β7β, β8β, β9β}),IN(UPPER(MID(TEXT([MLS]), 2, 1)), {βAβ, βBβ, βCβ, βDβ, βEβ, βFβ, βGβ, βHβ, βIβ, βJβ, βKβ, βLβ, βMβ, βNβ, βOβ, βPβ, βQβ, βRβ, βSβ, βTβ, βUβ, βVβ, βWβ, βXβ, βYβ, βZβ, β0β, β1β, β2β, β3β, β4β, β5β, β6β, β7β, β8β, β9β}))
The expression might need some adjustments, but since I donβt have your data and canβt troubleshoot. Let me know if there is something that is off.