I hope this might help you - try this - It uses an Or of 4 digits or 5 digits or 6 digits (\d{4}|\d{5}|\d{6})
Thanks
Will