News for hackers. Stuff that matters.
Re:Ask HN: So, I need regular expressions... by McUsr on Monday May 27, 2013 @05:04AM (#5773979)
Hello.

Use sed in a do shell script. short example (on the fly).

  set mytext to "sise" & LineFeed
  set fixed to do shell script "sed -n 's/size/sise/g' <<<" & mytext

I have written a script, for letting you first copy your terminal commandline, when you have figured it all out, so that you can paste it into a do shell script, it can be found here <http://macscripter.net/viewtopic.php?pid=163300#p163300>; And Macscripter.net is a great forum for AppleScript questions.

There are no comments on this comment yet.