KW.pm | Regular Expressions | #15 |
$string =~ s/Larry Wall/Christopher Calzonetti/g;
Modifier | Meaning |
---|---|
/g | Globally replace all matches |
/e | Evaluate the replacement pattern as a perl expression |
<< Previous | Index | Next >> | Copyright © 2002 Christopher Calzonetti |