#!/usr/bin/perl use strict; my $new = "100o798 boonanas woot!"; print "Original line: $new\n"; $new =~s/([0-9]+)o/$1\Q0\E/gi; print "With ~s: $new\n"; exit;
In reply to Re^2: s/// for \dOO for typos
by wallisds
in thread s/// for \dOO for typos [SOLVED]
by salmonix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |