dfr replace
for dataframe> dfr replace {flags}
--pattern, -p {string}
: Regex pattern to be matched--replace, -r {string}
: replacing stringinput | output |
---|---|
any | any |
Replaces string
> [abcabcabc] |dfr into-df|dfr replace-pab-rAB
╭───┬─────╮
│# │ 0 │
├───┼─────┤
│0│ABc│
│1│ABc│
│2│ABc│
╰───┴─────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/dfr_replace.html