Tag: 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?…
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.…
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…
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…
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…
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,…
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…