s/\b(?=BM)/XXXXX_/g; [download]
In reply to Re: regular expression ?! by JavaFan in thread regular expression ?! by Anonymous Monk