http://www.perlmonks.org?node_id=937859


in reply to Re: RegEx related line split
in thread RegEx related line split

Thank you. This works as per my requirement but I was trying one other pattern
$line = q{a) Line 1. b) Line 2. c) Line 32. d) Line 42.};
Here it matches if some (words) within () that are coming in the line.