Create a Java program that will accept a regular expression anda filename for a text file. The program will process the file,looking at every line to find matches for the regular expressionand display them.
Regular Expression Format
The following operators are required to be accepted:
+ – one or more of the following character (no groups)
* – zero or more of the following character (no groups)
[] – no negation, no character spans – the only format is explicit,for example [0123456789]
Restrictions
Your program must implement its own regular expressionfunctionality – you can not use the built-in regular expressionmechanism, nor can you include one from a
PayPal Gateway not configured
PayPal Gateway not configured