mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 11:54:02 +01:00
24 lines
382 B
Markdown
24 lines
382 B
Markdown
|
---
|
||
|
title: dfr replace-all
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Replace all (sub)strings by a regex pattern
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> dfr replace-all --pattern --replace```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `--pattern {string}`: Regex pattern to be matched
|
||
|
- `--replace {string}`: replacing string
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Replaces string
|
||
|
```shell
|
||
|
> [abac abac abac] | dfr to-df | dfr replace-all -p a -r A
|
||
|
```
|