I have a database that has a list of servers that I am downloading data from. I want to add a column that has a regex pattern so that my program can only download files that match this pattern.
Having never learnt regex before, I am in need of a little help.
I currently want the regex to match any files that have a extension of .edi
.
How would I go about this?
How about matching the filename exact (as some customers may want)? For instances, the file is always going to be called salesorder.txt
.
What if the customer doesn't want to match on any file, and wants us to pull all files? Is there a regex that will grab everything.. or is a blank regex the same as that?
Thanks!