before change regex