I will have document library with field state, country and few folders like 101, 102 etc
I have file name like 102_A_B.txt When user try to upload the file it should go automatically to folder 102 and state should be filled A and country as B (based on file name).
How to do this using jquery or script. I am using o365