Stop Worrying and Learn to Love Regex (FREE TOOL)
I have two questions for you:
Have you ever tried to use Regex?
Do you know what regex is? (Regular Expressions, used mainly to locate or validate specific strings or patterns of text in a sentence, document, or any other character input.)
If you know what regex is, then you hate it... I asked a group of developers, all professionals, all had years of experience... "have you used regex?" and there were hands, but also groans, and moans. and I swear someone made the fake puking noise.
I actually love regex and still seldom use it because it's just so stressful. You can love something and still find it incredibly annoying, convoluted and... stlll in the end quite magical.
At times it feels like magic.
Turn a seemingly random assortment of characters into a pattern matching machine.
Turn seriously odd series of characters into a data validation formula.
Recently I've been thinking a lot about REGEXMATCH()
While Google Sheets literally has "Data Validation" as a feature, most of the time we're using dropdowns, human powered dropdowns to categorize and match text in columns.
But REGEXMATCH() can do a TON of great data validation, if you know how to use Regular Expressions.
What if you wanted to use REGEXMATCH() but didn't know how to use REGEX... then I built a tool just for you.
Actually, I built this tool for myself. But you can use it free, right now.
I built a RegexMatch Maker I called the "RegexMatcher"
→ https://bettersheets.co/regexmatcher
Enter your use case, the text you're trying to match, the pattern you're trying to recognize... and the cell you're doing it in.
The output will literally be the REGEXMATCH() formula written for you. And copied to your clipboard.
Done and done.
I'm working on a list of 200 REGEXMATCH use cases.
Here's a small portion of them:
✉️ Email Validation: Check if a cell contains a valid email address.
📞 Phone Number Validation: Verify if a cell contains a valid phone number.
👨💻 URL Detection: Identify if a cell contains a valid URL.
🤐 Zip Code Check: Determine if a cell contains a valid zip code.
🗓️ Date Format Recognition: Check if a cell contains a valid date in a specific format.
🏧 Credit Card Number Validation: Verify if a cell contains a valid credit card number.
👩💻 IP Address Detection: Identify if a cell contains a valid IP address.
🏢 Social Security Number (SSN) Validation: Check if a cell contains a valid SSN.
📲 Hashtag Identification: Identify if a cell contains a hashtag (#).
Use RegexMatcher today, and let me know how it goes. I'm still improving it as we speak.
-Andrew
Your Resident Google Sheets Wizard at BetterSheets.co
Older messages
Free Course
Friday, October 20, 2023
Hi, It's Andrew from BetterSheets.co Here is a free course you can take: Learn to Code in Google Sheets. Takes less than 1 hour to get you familiar with Apps Script. I made this coupon code via
Is it easier?
Thursday, October 19, 2023
Hi, Just checking in to show you that I'm trying to make BetterSheets.co easier to navigate. Been adding little UI elements to make it easier to understand where to go, what can be done, etc. For
YouTube Thumbnail A/B Test Results
Tuesday, October 10, 2023
I cracked the code on YouTube's newest feature: Thumbnail A/B Testing If you're a Better Sheets member you can watch this tutorial and get the sheet right now -> Watch at BetterSheets.co
Master Spreadsheet Automation
Friday, October 6, 2023
Hi, This week I revamped, reimagined, the Apps Script course that's available on Udemy. Thought it would be much more helpful to you to include in one single course nearly everything you'd want
10% Off
Thursday, October 5, 2023
Hi, It's beyond my control, AppSumo is offering 10% off today for Taco Day. If you missed out on Better Sheets this week for $199, you can still get it pretty darn close! Become a Lifetime Member
You Might Also Like
How To Plant Nearly 1,000 Trees an Hour
Friday, February 14, 2025
A regular Johnny Appleseed, minus the apples.
Optimization research not driving impact?
Friday, February 14, 2025
Here's a framework to fix it... ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
What is the 'perfectly optimised' article for SEO?
Friday, February 14, 2025
It can be daunting to decide what to do to give your news article the best chance of performing in Google. Here I look at the seven most valuable optimisation elements. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
• Book Series Promos for Authors • All in one order • FB Reader Groups + Pins
Friday, February 14, 2025
~ Book Series Ads for Authors ~ All in One Order! SEE WHAT AUTHORS ARE SAYING ABOUT CONTENTMO ! BOOK SERIES PROMOTIONS by ContentMo We want to help you get your book series out on front of readers. Our
🧙♂️ [Sponsor Games] How Jeff made $80,000 from sponsorships (without a huge audience)
Friday, February 14, 2025
real talk ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
When Naptime Conflicts With Your Civic Duty?
Friday, February 14, 2025
The only “duty” he was concerned with was spelled differently.
Is Art About Money?
Friday, February 14, 2025
Your weekly 5-minute read with timeless ideas on art and creativity intersecting with business and life͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
For Authors: Affordable Proofreading Services by ContentMo
Friday, February 14, 2025
👓 Two sets of eyes are better! 👓 👓 Two sets of eyes are better! 👓 Accurate & Affordable
Toys, scratching, and quantum strategies
Friday, February 14, 2025
Your new Strategy Toolkit newsletter (February 11, 2025) ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏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