Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I ONLY NEED # 2 AND # 5 Write down the extended regular expression for following

ID: 3790651 • Letter: I

Question

I ONLY NEED # 2 AND # 5

Write down the extended regular expression for following questions E.g. Social security number in the format of 999-99-9999. Valid URL beginning with "http://" (e.g. http://cs.gsu.edu) Valid variable name following the two rules below: Must begin with a letter of the alphabet, an underscore, or(), or a dollar sign ($) After the first initial letter, variable names may also contain letters and the digits 0 to 9. Valid email address, assuming 'a-z', '0-9' '', are valid characters for user id and domain name has to be end with either ".com" or ".net" (e.g. aabb_123.xy@g3.com, cdcd@12_3.net) Phone number in any of the following format: 999-9999999, 999- 999-9999, (999)-9999999. Valid HTML link tag with the format: ... . (e.g. O'Reilly Media , Download Test )

Explanation / Answer

2)   (a-z)|(A-Z)| _ | $ ((a-z)|(A-Z)| _ | $|(0-9))+

| denote or

and after first lettter we can have digits (0-9) in 1 or more occrence

5)