<?php


echo preg_replace('/([^:]*):/i', '"$1" :', 'def1: "some explanation"\n');
