I would write something like m/[*(.*)*]+ $1/g; I *think* that is saying, match *, any character any number of times, * and it stores that into $1. I through the brackets in there because my original code was *(.*)* + $1/g; which doesn't look like the correct syntax.
Anywhere, use this as an idea because I'm sure it doesn't work. Hope this helps!
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"
sulfericacid
In reply to Re: Another regex needed
by sulfericacid
in thread Another regex needed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |