<?php $string = "error.md"; $new = preg_replace("/[\.](.*)/", "", $string); echo $new;
You have javascript disabled. You will not be able to edit any code.