You need to search for "look-ahead assertion" in the docs.
As I am no master of this I would do $string =~ s/;(.)/$1/g; assuming that the semikolon is the last character in the string.
In reply to Re: Quick regex substitution question
by hdb
in thread Quick regex substitution question
by jmmach80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |