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
Get step-by-step solutions from verified subject matter experts
