RosettaCodeData/Task/Regular-expressions/UNIX-Shell/regular-expressions-2.sh

4 lines
55 B
Bash

s="I am the original string"
re='o.*l'
repl="modified"