Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking string for predefined format
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00403485
Message ID:
00405271
Views:
26
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform