<?php $path = '1.001.001.01.01'; $filename = substr($path, 0, strrpos($path, ".")); echo $filename; // "index.html" ?>
You have javascript disabled. You will not be able to edit any code.