>>PMFJI,
>>
>>Use [A-Z/s], or IOW:
oRegExp.Pattern = '\d{6}[A-Z\s]-[A-Z\s]\d{6}[A-Z\s]-[A-Z\s]\d{6}[A-Z\s]{2}-[A-Z\s]{2}\d{6}[A-Z\s]'
>
>Actualy, [A-Z\s] allows too much; tabs, vertical tabs, newlines and spaces also fit. [A-Z ] is fine.
Another note...this is why you'd doing this subject, not me.:-)
George
Ubi caritas et amor, deus ibi est