Question: 1. Using Linux commands Unzip the given zip file DFSC2316Assign1Material and extract the content into a folder named Assignment1. Access the 3 files (using commands)


1. Using Linux commands Unzip the given zip file DFSC2316Assign1Material and extract the content into a folder named "Assignment1". Access the 3 files (using commands) to solve the bellow problems. 2. In testFile1.txt, a) Match all occurrences of the full name "Arthur Jones" ignoring the case, spaces or special characters in between the two names. (Hint: All 4 occurrences of ARTHUR JONES, Arthur Jones, arthurjones, and arthur-jones should be matched.). b) Match all phone numbers in the format +\#-\#\#\#-\#\#\#-\#\#\#\# OR \#\#\#-\#\#\#-\#\#\#\#. c) Match all email addresses. d) Match all IPv6(both normal and dual) addreses. [Note: IPv6 (normal) address has the format y:y:y:y:y:y:y:y, where y must be a hexadecimal value between 0 and FFFF. IPv6 (dual) address has the format y:y:y:y:y:y:x.x.x.x, where y must be a hexadecimal value between 0 and FFFF and x must be a decimal value between 0 and 255.] e) Match all URIs. 3. Search all comparisons (==,!=,,=) and print with the line number, in testfile2.java. Note: Please attach the screenshots of the codes with the answers from the terminal, when submitting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
