mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
377 B
377 B
title | layout | version |
---|---|---|
dfr replace | command | 0.59.1 |
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