dimanche 2 août 2020

PHP - Remove text between two slashes from URL

Consider the following URL in PHP:

monitor/2020-05/auto-1589457895-399-9042888978.wav

And I want following output:

 monitor/auto-1589457895-399-9042888978.wav

How can I remove the middle part from URL ?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3gmlF1x
via IFTTT

Aucun commentaire:

Enregistrer un commentaire