S_Seydel
9 years agoContributor
Regular Expression problem
Hi, I try to use a regular expression to validate a specific date format, however I don't get it to work and would be thankful for any help. TestComplete version: 12.0.122.7. Script language...
- 9 years ago
Possibly a "dirtier" way of doing this same thing without having to use Regular Expressions (cool thing, very useful, but confuses me a lot, too), is to try and use the aqConvert.StrToDateTime method wrapped in some sort of exception handling. So, you try the conversion, if it succeeds, no exception, you log a "success" result. If it fails, raises an exception, you log a "fail" result.