×
Home About Us Products Services News Free Scripts Contact
news php scripts and software

Perl example - How to do replacement in a string using regular expression?


Perl - How to do replacement in a string using regular expression?

For example - replace every "Alice" with "Bob": 

$string =~ s/Alice/Bob/;

Category: Perl

 
<< Go back