Answer the question
In order to leave comments, you need to log in
How to exclude strings with a dot after certain characters using a regular expression?
Please help me with js regex.
In general, I'm looking for files in folders that end in "_"
"Name_.format"
That is, I could search through the banal /_\./, but the catch is that files can contain "_." in the middle of the file name, like "Name_.movie.format" the regular season will find this, but I don't need these.
In general, /_\./ should be added to this regular expression so that after "_." there were no dots until the end of the line. Then it will be what you need. But I don't know how. Tried /_\.[^\.]/ doesn't work
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question