use strict; use warnings; $_ =<This is example 1 This is example 2 This is example 3 This is example 4 SQ s//''/eg; print;