Update RegEx to not use global matching and allow successive lines to match properly.