extracting PWL text from custom message