nushell/docs/commands/dfr_replace.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

378 B

title layout version
dfr replace command 0.59.0

Replace the leftmost (sub)string by a regex pattern

Signature

> dfr replace --pattern --replace

Parameters

  • --pattern {string}: Regex pattern to be matched
  • --replace {string}: replacing string

Examples

Replaces string

> [abc abc abc] | dfr to-df | dfr replace -p ab -r AB