<?php $subject = 'http://distilleryimage3_s3_amazonaws_com/8af11cdcf11e286b022000ae90285_7_jpg'; $pattern = '/(_)([^\d])/'; var_dump(preg_replace($pattern, '.\2', $subject));
You have javascript disabled. You will not be able to edit any code.