How to replace text in automator (regex)

I am making an Automator application and I need to replace some text based on certain criteria. I am wondering if there is an Automator action to perform a regular expression text replacement.

If not, I always have the ability to run AppleScript, which can do this, but I really don't know how to write AppleScript code.

Thank!

+3
source share
3 answers

Since I posted this question, I realized that using PHP code in Automator scripts. This is a great way to do all kinds of things (although it's a bit weird how you can write or delete files this way).

0

Automator, "Run Shell Script". stdin , sed, awk, perl, ruby .

0

" TextEdit" Automated Workflows.

, , . , , .

, , . Automator, , .

, , AppleScript, Smile. Satimage AppleScript. .

, , Automator, AppleScript, , , Automation Automation .

0

Source: https://habr.com/ru/post/1777270/


All Articles