I am trying to figure out how the MS Regular Expression class works,
currently I am using this class in PowerBuilder and I need to check
only text characters (not including #'s or special characters), if
they are either all uppercase or all lowercase(doesn't matter what
order).

For example, 'TESTER$10', 'W10E7EE'. If all characters are Ucase, give
message and if all lowercase, give message.

I have used many different combinations with no success. In addition I
have googled it and found different expressions, but they don't seem
to work or I am totally misunderstanding how this works.

http://www.grymoire.com/Unix/Regular.html

I have tried this: '^[A-Z]+$'. This works with only characters, but
once I add #'s or a special character it fails,
iole_regexp.Test( as_teststring ) returns false.

Plus I have tried to use \w ('^\w[A-Z]+$')  'Match any word character'
but that doesn't work once I add a # or special symbol.

I've tried this, '^(?=\w*[a-z])\w*$' , it works until I add a special
character. (tester12 works, tester$12 doesn't work).

Any help would be much appreciated.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to