I am trying to come up with a regex that will match the following.
file://server-name-01/e$/(any file or subfolder)?ds=test_01
Below is the expression i've been working with but for some reason this will match any server name.
.*[a-zA-Z]:\/\/.*[sf.ps.gdo02].*\?ds=[a-zA-Z0-9_]+$
My goal is to match a specific server name and admin share so that any file or subfolder targeted within the share would be a match.
I'm also interested in the ability to match the following using 1 expression.
1) file://server-name-01/e$/(any file or subfolder)?ds=test_01
2) file://server-name-02/e$/(any file or subfolder)?ds=test_01
3) file://server-name-03/e$/(any file or subfolder)?ds=test_01
Forgive me as i'm fairly new to defining expressions but any help would be greatly appreciated.