Which URL matches the regex statement “http”*/”www.cisco.com/”*[^E]”xe”?
A. https://www.cisco.com/ftp/ios/tftpserver.exe
B. https://cisco.com/ftp/ios/tftpserver.exe
C. http:/www.cisco.com/ftp/ios/tftpserver.Exe
D. https:/www.cisco.com/ftp/ios/tftpserver.EXE
In case you are wondering why: ^ means must begin with except when contained within brackets. [^E] When in brackets the [^] means not. So [^E] means not any character not a E. So the lower case e will match while the upper case E does not.
B is wrong because it is missing the www in front of http://www.cisco.com
In case you are wondering why: ^ means must begin with except when contained within brackets. [^E] When in brackets the [^] means not. So [^E] means any character not a E. So the lower case e will match while the upper case E does not.
B is wrong because it is missing the www in front of http://www.cisco.com
sorry had to correct. I did not back space enough when correcting what I wanted to say. I left an extra not in my sentence. Made it hard to read.