Question: B. Create a regular expression so that when it applies to the given text, the following sets of output will be returned. 1. text =

B. Create a regular expression so that when it applies to the given text, the following sets of output will be returned. 1. text = "aab#bbbd aabb cddaa', output = ['aab', 'aabb', 'aa'] 2. text='aab#bbbd aabb cddaa abcd', output = ['aab', 'aabb', 'aa', 'ab'] 3. text='aalb#bbb12d alzabbl cddaa abcd34', output = ['12d', '12a']
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
