Regular expressions.....

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am writing some validations code to make sure that date string data has
only two "/" characters in a string. Order of appearance of "/" is
irrespective.

How to write a regular expressions code to validate that a given string has
only two "/" in a given string. .Net 1.1.

Thanks,

Smith




.



Relevant Pages

  • Re: Regular expressions.....
    ... > How to write a regular expressions code to validate that a given string has ...
    (microsoft.public.dotnet.languages.vb)
  • string convertion to date problem
    ... I have a string which I convert to date (dd/mm/yyyy), ... How can I validate to check if my string can be converted to a correct ... Prev by Date: ...
    (microsoft.public.excel.programming)
  • Re: subset function for string in c++
    ... I need to find out wether charecters in string a are subset ... --Walter Smith ... Prev by Date: ...
    (comp.programming)
  • Re: IllegalArg vs NullPtr Exceptions
    ... Java doesn't have DbC. ... Validate.isTrue, "String SHOULD be ... also about using incorrect abstraction. ... Apache Commons' Validate is cool. ...
    (comp.lang.java.programmer)
  • Re: Thoughts on using isinstance
    ... its parameters is best placed in the docstring. ... This is another place where the "don't validate, ... So in practice you end up writing "a string", and leave the rest of the ... level that I think doing explicit parameter validation can be helpful. ...
    (comp.lang.python)