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