in reply to Reg exprs
Smells like homework!.
If so, please label it... and consider that if you merely obtain an answer here without taking the trouble to learn how to do so for yourself, you're wasting your time, that of those who provide the answer, and all the resources being expended to "educate" you.
<admonition> This is such a simple and basic question that that very asking implies an utter lack of effort to find the answer yourself.</admonition>
So, hints only: See Chapter 9 of ISBN 0596001320, your textbook, almost any reputable introduction to Perl, or the answers in your computer, for which try perldoc -q regex which will provide a start. (No, that's deliberately NOT a direct link to a specific answer, but a moment or two of your time will lead you there.)
|
|---|