Last week I went through the first half of the year, talking about all of the hardware and software I reviewed in 2017 to see what I’m still using and what has fallen by the wayside. If you haven’t read the first half, you can find it here. Let’s continue our journey and take a look at the second half of 2017. Continue reading “2017 Year in Review Part 2 – What Am I Still Using?”
In this action-packed show I tell you the story of adding chapter markers to the NosillaCast in a three part continuation series (hopefully you can see them now?) interspersed with two reviews from Bart. He tells us about how he’s using Hazel now to send things to Yoink and he explains why CardHop makes Contacts useful again. Steve wrote to Craig Federighi and actually got a response and 30 seconds of fame on Apple sites. And we’ve got a PSA about a phone scam using an Apple Store’s real phone number.
In my post about using regular expressions to find matches in a text file, I promised to tell you about the two applications I used to help me write my regex. By the way, Regex is what the cool kids call Regular Expressions.
Let’s state the problem to be solved first. If you have a text file where you want to change something that’s repeated throughout the file, it’s pretty easy to do a search/change all. We do it all the time in text editors. But what if you have a text file that is repeatedly generated and always has the same thing wrong with it? Maybe it’s a date in the wrong format. Or maybe an online system hasn’t been updated with your new company name. Or what if instead of changing the text, you just need to know what the text actually says? Let’s say it’s a date in a document and you want to write a script to change the name of the document to include the date? All of these examples are a great place to try out regex.