Regular expression for "item color"
Posted: 26.02.2023, 05:48
How should I write the regular expression if the file name contains [1]?
file type color:
file name [1].jpg
===
*[1]*.jpg (not match) Anything with a 1 in the file name will be processed.
*/[1/]*.jpg (not match)
.*\[1\]\.jpg (not match)
file name (1).jpg
===
*(1)*.jpg (match!)
file type color:
file name [1].jpg
===
*[1]*.jpg (not match) Anything with a 1 in the file name will be processed.
*/[1/]*.jpg (not match)
.*\[1\]\.jpg (not match)
file name (1).jpg
===
*(1)*.jpg (match!)