regex

  • Wildcard SSL Command Line Scanner

    Let’s say you have a list of URLs. What’s the fastest way to scan all websites to see which are using a wildcard SSL? This is a follow-up to a…

  • Email Robot Handing DNS Updates

    I know we’ve all been there. Staring at the endless stream of new emails wondering, “Can I automate this somehow?”. Trust me, I know. That answer is always yes, it…

  • Removing Cloudfront URLs with Regex

    Recently helped a customer remove Cloudfront URLs as part of a migration process from AWS to Kinsta. Kinsta’s CDN is powered by Cloudflare and is built-in. There is no need…

  • Safely Remove Dates from WordPress Permalinks

    I’m not sure if this is a growing trend, but I recently decided to drop the dates from my blog post URLs. Previously I was using the day and name…

  • Querying ACF Relationship Fields using REGEXP

    Advanced Custom Fields relationships are pretty amazing. You can easily manage relationships between virtually anything. The official ACF docs on querying relationship fields is a fantastic walkthrough showing how to handle…

  • Cleanup with WP-CLI and Regex

    Recently one of my customer’s WordPress sites was filled with random hidden span tags containing a single word: “Save.” The source is a mystery, however I suspect it came from…

  • Regex with WordPress Database Backups

    For too long, regular expressions or regex have been mysterious to me. With the help of the fantastic video series at Laracasts the quirky pattern matching syntax has started to make…