basename

basename()

Obtain a name without path extension.

Result

text