in reply to Re: Using regular expression to extract info from input line
in thread Using regular expression to extract info from input line

Hi Toolic, Thanks for making the code look neat and self-contained. I used your corrected code, made a little modification based on jethro's advice
if (/^>(\w+)\s\w+\=(chr\w+)\:(\d+)\-(\d+).*strand=(.)/)
and it works perfectly. Thanks a lot