in reply to To remove a certain pattern that is followed by numbers

$ perl -le' $_ = "ACER ASPIRE SERIES AS1954-526352BN"; print; s/AS(?=\d)//g; print; ' ACER ASPIRE SERIES AS1954-526352BN ACER ASPIRE SERIES 1954-526352BN

Replies are listed 'Best First'.
Re^2: To remove a certain pattern that is followed by numbers
by Anonymous Monk on Jun 29, 2009 at 13:07 UTC
    Thanks a lot, Sir.