nice uri/url with \ instead of /. Yet it does exist .. but they are non w3c standard . Do not forget to read the posting guidelines about providing the whole examples you want to use, and yes some web servers on some \\ friendly operating system use UNC names after the protocol. Using absolute file names is an open door to hackers.
the following classs select both bytes
[/\\]
you can also use (/|\\)
what you typed was /\\ which is always 2 bytes : a first byte / followed by a second byte \
I am not sure which one of the 2 following expressions will provide the filter you want.
http://www.abc.com/\\*~[a-zA-Z]+
http://www.abc.com[/\\]+~[a-zA-Z]+