in reply to Regexp doubt

Try this things , it will work fine....
$str = "\"ab\"cde\"fgh\""; foreach ( split ("\"" , $str ) ) { print "\"$_\" " if length ( $_ ) ; }