Skip to content

text.replace

Replace text in files using literal or regex patterns

Properties

Property Type Required Description
allow_no_match boolean No -
backup boolean No -
count integer No -
flags object No -
path string Yes -
pattern string Yes -
replace string Yes -

Platform Support

linux, darwin, windows, freebsd

Events Emitted

  • file.updated