ie, we avoid any words that start with an ampersand, but don't end in a semi-colon. The questionmarks, for non-greedy, become superfluos...s/&([^;\s]+);/..
In reply to Re: regex & variable substitution
by kiz
in thread regex & variable substitution
by kiz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |