I have to develop a program that validates input from the user. String format is:
ebill (ao|aio|block) [email protected](any email address)
Now i'm looking for a solution with the following conditions:
ebill aoorebill aiochecks for third argument which is an email address.- but if i got
ebill blockthen my regular expression wouldn't check for email address.