This `[^0-9]*` should probably be `[^\d]*`.