I am doing the Content Creators Contracting project for the backend api using JS course.
The project overview references regular expressions, and states that you are not supposed to know it yet. However, looking at the project It seems like that you need to use regular expressions, because what is inside the parentheses of the “filename.match” doesn’t seem like anything I know, and it looks similar to a regular expression.
line of code that is given:
“const extension = filename.match(/..([^.])$/);”
I am pretty sure that I know what is supposed to be done, but I do not know how, or if I need to use regular expressions. This project has had me stumped for a while now.