Perl‎ > ‎

regex

Regular Expression with Perl

#!/cygdrive/c/strawberry/perl/bin/perl
use Modern::Perl;

my $_ = "hello everyone...!";

say if /hello everyone/;

s/hello everyone/hello world/;

tr/a-z/A-Z/;
say;


Comments