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:
00405413
Views:
22
>>>>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.:-)
>
>I figure you can leverage the exmples from last night into an article - an in case you haven't noticed, use of the RegExp object well requires that you understand what you're trying to template and parse; just wait 'til we peek a bit at the really neat stuff the little man is doing just behind the curtain!

Well, you're not getting off easy here.< bg >
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform