sql server 2008 - Regex code how to filter all names that contain only numbers and end with .jpg and/or _number.jpg? -
How to filter all the names, which contain the numbers and end with .jpg and / or _number.jpg?
Background information: In SSIS 2008, I have a foreach loop that will store the file name in a variable for all JPG files. The intent configuration for files is currently: *. Jpg This will handle all JPG files.
What is the code, so it will only like names? :
3417761506233.jpg 5414233177487.jpg 5414233177487_1.jpg 5414233177487_14.jpg but not like names:
abc.jpg abc123.jpg def.png 456.png Numbers represent EAN codes the same way. I thought about this code:
\ d | _ | .jpg
But SSIS gives an error stating that there are no files available from the criteria in the files (name) folder.
< div class = "post-text" itemprop = "text">
You can use a script task within the loop to regex filtering:
Or you can use a free (third party) enumerator:
Comments
Post a Comment