This professional text editor has a wealth of features for programmers, web developers and others, and you can evaluate the app free of charge for 30 days (then continue to use it for free with fewer features). A major update brings even more advanced text pattern operations, but it requires macOS 10.14 or later.