Question: Question 4 Write a regular expression which matches line comments in Java. In Java, tline comments start with / / and read until they read
Question
Write a regular expression which matches line comments in Java. In Java, tline comments start with and read until they read a newline.
Question
Write a regular expression which matches an XML tag in the form of where togname andcontent can be any alphanumeric string including letters, digits, and spaces only no symbols
Question
Although we sed a regular expression to answer question briefly explain why, generally speaking, one shouldn't use a regular expression for parsing XML or HTML
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
