Hello:
I run the following Regular Expression through Regular Expression Tester at
http://www.regexlib.com/RETester.aspx:
^([a-zA-Z0-9@.,\s])+$
Type in "InfoPath is a product". It will return a match.
Set this up to validate a textfield through data validation or a rule with
the "does not match pattern" condition and choosing Custom Pattern AND IT
DOES NOT WORK!
What is the issue?
Thanks!
Gary Hsu [MSFT] - 21 Aug 2004 19:03 GMT
Remove ^ and $. XSD pattern matching does not support them.
See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/xsd
refxmlschemaregularexpressionsreferencechart.asp
for more information.
Gary
> Hello:
>
[quoted text clipped - 12 lines]
>
> Thanks!