Automation should be at the heart of every software company. If have to configure something manually: script it. Save the script. Use the script. Automate. Anything. Automation. First. Period.
MP3s are everywhere and back in 2014 I finally had a phone with enough storage to store a decent amount of them. I use MediaMonkey to add high resolution album covers and to rename the files in a predictable format: Artist – Album – # – Title. The only thing I was missing was a simple way of creating a M3U playlist: PowerShell to the rescue!
PowerShell runs on .NET and uses the .NET regex engine, but PowerShell adds its own string semantics. Two independent failures can break a capture-group replacement: multiline matching and PowerShell interpolating `$1` before it reaches the regex engine.