Question: Write a regular expression for each of the following strings. The alphabet is the set of all visible symbols like characters, digits, punctuations, and operators.

Write a regular expression for each of the following strings. The alphabet is the set of all visible symbols like characters, digits, punctuations, and operators. Flex extensions can be used. (2 points each. Total 10 points).
1) First names that starts with "John" and followed by one or more lower-case letters like Johnson, or Johnsomething.

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 Programming Questions!