<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>30 Apr 2014 01:35:28 Z</lastBuildDate><pubDate>15 Apr 2014 23:13:00 Z</pubDate><description>Hi,&#13;
&#13;
To check a password strength I want to use this regular expression&#13;
&#13;
"^.*(?=.{8,})(?=.*[a-z])(?=.*[A-Z])(?=.*[\W])(?=.*[\d]).*$"&#13;
&#13;
But the MatchRegularExpression always return false ?&#13;
&#13;
The rules would be:&#13;
* Min length 8&#13;
* At least 1 Capital letter&#13;
* At least 1 lower case letter&#13;
* At least 1 symbol&#13;
* At least 1 digit&#13;
&#13;
When I use the following site https://www.debuggex.com to test the Regular expression it matches OK when I use a test string of "fnLny1sd+"&#13;
&#13;
Any idea why Windev returns false every time ?&#13;
&#13;
Thanks&#13;
Danny&#13;
[attachment 882 regex.png]</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression/read.awp</link><title>[WD18] Need help with regular expression</title><managingEditor>moderateur@pcsoft.fr (Le modérateur)</managingEditor><webMaster>webmaster@pcsoft.fr (Le Webmaster)</webMaster><item><author>Jurassic Pork</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45772/read.awp</comments><pubDate>30 Apr 2014 01:35:28 Z</pubDate><description>hello Danny,&#13;
you can try to use the vbscript.regexp automation object  like that : &#13;
&#13;
[code:wl]&#13;
sPassword is a string&#13;
MyRege…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45772/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45772/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression/read.awp">[WD18] Need help with regular expression</source><title>Re: [WD18] Need help with regular expression</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45592/read.awp</comments><pubDate>16 Apr 2014 19:29:00 Z</pubDate><description>Hi Danny,&#13;
&#13;
Indeed, I had problems with regular expressions in WD too. The problem is that this is not a fully-flexible regular…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45592/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45592/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression/read.awp">[WD18] Need help with regular expression</source><title>Re: [WD18] Need help with regular expression</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45573/read.awp</comments><pubDate>16 Apr 2014 03:47:00 Z</pubDate><description>I have no idea.&#13;
Maybe "positive lookahead" "(?=" is incompatible with windev. I&#13;
&#13;
Maybe you can can divide the problem. It's s…</description><guid isPermaLink="true">https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45573/read.awp</guid><link>https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression-45573/read.awp</link><source url="https://forum.pcsoft.fr/fr-FR/pcsoft.us.windev/45571-wd18-need-help-with-regular-expression/read.awp">[WD18] Need help with regular expression</source><title>Re: [WD18] Need help with regular expression</title></item></channel></rss>
