Newsletter Subject

How to validate a strong password

From

exceljet.net

Email Address

contact@exceljet.net

Sent On

Fri, Sep 6, 2024 01:02 PM

Email Preheader Text

Hi - Dave here. Happy Friday! How can you validate a "strong" password with a formula in Excel? - At

Hi - Dave here. Happy Friday! How can you validate a "strong" password with a formula in Excel? - At least 8 and not more than 15 characters long - Contains at least one uppercase (A-Z) letter - Contains at least one lowercase (a-z) letter - Contains at least one number (0-9) - Contains at least one punctuation character - Contains no whitespace Historically, this has been a challenging problem in Excel because there have not been great tools for the job. You have to cobble together many functions to perform the tests in a formula like this: =AND( LEN(B5)>=8, LEN(B5)<=15, COUNT(FIND({0,1,2,3,4,5,6,7,8,9},B5))>=1, COUNT(FIND(letters,B5))>=1, COUNT(FIND(UPPER(letters),B5))>=1, COUNT(FIND({"!","@","#","$","%","^","&","*","(",")","_","+"},B5))>=1, ISERROR(FIND(" ",B5)) ) However, that all changed with the recent introduction of the REGEXTEST function in Excel. With regex, we can validate a strong password like this: =REGEXTEST(B5,"^(?=.*[A-Z])(?=.*[a-z])(?=.*d)(?=.*[^ws])[^s]{8,15}$") You can see the result in the worksheet below: [A formula to validate a strong password with regex]( [[Download the workbook and read the full explanation](] If you've never been exposed to regex, I know this formula probably looks like gibberish. Regex is literally an entire language for defining and detecting patterns in text, and it is notoriously complex. On the other hand, Regex has been around for decades and has great documentation. You can even ask ChatGPT or other AI chatbots for the pattern you need, and they will happily oblige :) Since REGEXTEST is a brand new function, it is only available in the Beta channel for Excel 365. However, I've also included the traditional formula above based on COUNT, FIND, LEN, etc., that will work in older versions of Excel. Read the article for all the details, and download the workbook to try it out yourself. Excel formulas We maintain a list of over 500 working formulas [here](. If you need more structure, we also offer [video training](. Have a great weekend! Dave The Exceljet newsletter is free and sent weekly on Fridays. Each week, I take a detailed look at one useful Excel formula. You can sign up on our [home page](. [View this email in a browser]( [Exceljet Logo]( Exceljet P.O. Box 4804 Salt Lake City, UT 84110 Copyright © 2024 Exceljet, All rights reserved. You received this email because you are subscribed to our newsletter. To unsubscribe, click the link below. [Unsubscribe](

Marketing emails from exceljet.net

View More
Sent On

08/11/2024

Sent On

27/09/2024

Sent On

13/09/2024

Sent On

30/08/2024

Sent On

23/08/2024

Sent On

16/08/2024

Email Content Statistics

Subscribe Now

Subject Line Length

Data shows that subject lines with 6 to 10 words generated 21 percent higher open rate.

Subscribe Now

Average in this category

Subscribe Now

Number of Words

The more words in the content, the more time the user will need to spend reading. Get straight to the point with catchy short phrases and interesting photos and graphics.

Subscribe Now

Average in this category

Subscribe Now

Number of Images

More images or large images might cause the email to load slower. Aim for a balance of words and images.

Subscribe Now

Average in this category

Subscribe Now

Time to Read

Longer reading time requires more attention and patience from users. Aim for short phrases and catchy keywords.

Subscribe Now

Average in this category

Subscribe Now

Predicted open rate

Subscribe Now

Spam Score

Spam score is determined by a large number of checks performed on the content of the email. For the best delivery results, it is advised to lower your spam score as much as possible.

Subscribe Now

Flesch reading score

Flesch reading score measures how complex a text is. The lower the score, the more difficult the text is to read. The Flesch readability score uses the average length of your sentences (measured by the number of words) and the average number of syllables per word in an equation to calculate the reading ease. Text with a very high Flesch reading ease score (about 100) is straightforward and easy to read, with short sentences and no words of more than two syllables. Usually, a reading ease score of 60-70 is considered acceptable/normal for web copy.

Subscribe Now

Technologies

What powers this email? Every email we receive is parsed to determine the sending ESP and any additional email technologies used.

Subscribe Now

Email Size (not include images)

Font Used

No. Font Name
Subscribe Now

Copyright © 2019–2024 SimilarMail.