java check if string contains substring regex