Question from the RegEx test

Write a regular expression to extract a file name from a path, except if the file is a .html file

Expert

Which RegEx(s) to use if I only want to retrieve a file name (e.g. retrieve "logo" from "logo.png") EXCEPT if the file is a .html file

Author: Nick LAM YEE MANStatus: PublishedQuestion passed 115 times
Edit
2
Community Evaluations
developer avatar
Nick LAM YEE MAN
12/05/2023
J'adore les RegEx et ce test est juste incroyable
developer avatar
Auteur anonyme
05/06/2023
Complètement d'accord avec toi, depuis je fais régulièrement des regex en prenant mon petit dej !