Question: Write out the Regular Expressions for this Demonstration: A. URL requiring http or https B. Positive integer allowing 25 or 205 or +25 but not

Write out the Regular Expressions for this Demonstration:

A. URL requiring http or https

B. Positive integer allowing 25 or 205 or +25 but not 0 nor 025 nor +025 nor -25

C. 'Loose' college course code that consists of 3 to 4 capital letters followed by exactly 4 decimal digits

D. 'Strict' undergraduate SCCS course with prefix CSCI CYBR or AIST followed by 4 decimal digits where 1st digit is 1 2 3 or 4

E. In my other courses I have students create Virtual Machines named xxxxySn where xxxx is the first four letters of their student account login, y is L (for Linux) or W (for Windows), the S is fixed for Server, and n is a single digit > 0 for version number. My name is John Stewart so my VMs would be named jsteLS1 and jsteWS3 for example. Validate that the entry is one of your VMs if / when you take the course (i.e., the first four characters need to be the start of your college login in lower case, then L or W, then S required, then a non-zero digit).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!