<?php $str = 'This is a "sample string" more text'; var_export( preg_replace('~ ?"[^"]*"~', '', $str) );
You have javascript disabled. You will not be able to edit any code.