Question: Write a program to accept any regular expression and generate strings of the regular languages and save strings (up to 100 if there exists more

Write a program to accept any regular expression and generate strings of the regular languages and save strings (up to 100 if there exists more than 100) in a file.

Write another function that ask user to enter a string and validate that the entered string is valid for the given regular expression or not. Want this program in C++ no library used please. i will be very thankful and program should be running in c++.

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!