#!/usr/bin/perl use strict; my $string='Apropovir,"Atripla(tenofovir+emtricitabine+ efavirenz)",'; my @tokens=split(/,\"/,$string);#split using comma"es for my $each(@tokens) { $each=~s/\"//;#match quotes and substitute with nothing print "$each\n"; }