Even completely new you must have some idea. How would you manually do it? Can you translate that into Perl?
Please, let us see where you have run into a wall after attempting a solution.
You'll learn a lot from the attempt - more than you will from reading solution suggestions here.
In reply to Re: How to use matched strings
by mikeraz
in thread How to use matched strings
by tophat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |