extract the app name from the mesage