When using the replace text in a file action, set (?m) before the regular expression value. All text occurrences will be replaced.
This document was generated from the following discussion: Nolio KB: How do I replace multiple occurrence of a text in the same file?