s/(^|\*)X(?=\*|$)/$1$NEW/g # ~~~ [download]
In reply to Re: global string replace by choroba in thread global string replace by zX4hzjFWWT