Since this was from last semester, I'm sure you'll be happy to post the code you submitted before anyone here posts how they'd do it, right?
Otherwise, this just sounds like someone wanting their homework done for them ;)
In reply to Re: Riddle with regex
by stevieb
in thread Riddle with regex
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |