Answers for "remove .php extension from files excenpt specitfile"

PHP
1

php regex remove file extension

$withoutExt = preg_replace('/\\.[^.\\s]{3,4}$/', '', $filename);

This matches a dot followed by three or four characters which are not a dot or a space.
Posted by: Guest on June-19-2020
0

php regex remove file extension

remove file extension [.mp4 .mp3 ETC]
Posted by: Guest on October-11-2021

Code answers related to "remove .php extension from files excenpt specitfile"

Browse Popular Code Answers by Language