a b c d
^^^^^ 0
- .selections.pipe.replace { expression: String.raw
/\s/-/g
}
a-b-c d
^^^^^ 0
- .selections.pipe.replace { expression: String.raw
/\s/\n/g
}
a
^^ 0
b
^^ 0
c d
^ 0
- .selections.pipe.replace { expression: String.raw
/\s/\\n/g
}
a\nb\nc d
^^^^^^^ 0
- .selections.pipe.replace { expression: String.raw
/\s/\\\n/g
}
a\
^^^ 0
b\
^^^ 0
c d
^ 0
- .selections.pipe.replace { expression: String.raw
$.replace(/\s/g, "-")
}
a-b-c d
^^^^^ 0
- .selections.pipe.replace { expression: String.raw
$.replace(/\s/g, "\n")
}
a
^^ 0
b
^^ 0
c d
^ 0