Change substring matching a bit.