I want to extract/check if key is within the directory of file.
For example I have list of directories as below: \Users\Documents\C1PN-SA-17 TORONTO \Users\Documents\C1PN-SA-129_TOKYO \Users\Documents\C1PN-SA-1-INDIA
What to find: C1PN-SA-1
Objective: To find the exact match of key and choose that file (\Users\Documents\C1PN-SA-1-INDIA)
What have I did was doing the .Contains but all directories will return True.