I have the following example file in a folder. I'd like to read files having similar name.
If I use list.files(pattern="ABC_.*?\\.csv") ,it would read all the csv file. What should I change so that it reads only ABC_001.csv and ABC_012 and similarly the other two.
ABC_001.csv
ABC_001_def.csv
ABC_012.csv
ABC_012_def.csv