You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Replace string
v1
Replaces strings with regular expressions.
Required Regular expression to match.
Required Input string.
Required String to use for replacement.
The replaced string.
uses: frabert/replace-string-action@v1
with:
pattern: 'Hello, (\w+)!'
string: 'Hello, world!'
replace-with: 'I greet you, $1!'