Question: Which regex syntax while analyzing the string song, long, strong, wrong, sponge produces the output: ['song', ' long', 'trong', 'wrong', 'spong'] (r'{1,2}?ng') (r'{1,3}.ng') (r'=.{1,2}ng') (r'.{1,3}ng')
Which regex syntax while analyzing the string song, long, strong, wrong, sponge produces the output: ['song', ' long', 'trong', 'wrong', 'spong'] (r'{1,2}?ng') (r'{1,3}.ng') (r'=.{1,2}ng') (r'.{1,3}ng')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
