I want to apply regex exp

Ok but i need first transaction type also from pdf pls tell me how to do