I want to extract data from the below string. As u can see in the pattern first line is product name. Second line is number of piece and after that dimensions of the product. So I want to extract number between brackets, Cut to size pieces and dimensions for each product.
2 x Hot Rolled Steel Rectangle Bar (10050300) = Call for Price
• # of Cut to Size Pieces - 2
• Length - 47"
1 x Hot Rolled Steel Sheet & Plate (HRP016408) = Call for Price
• # of Cut to Size Pieces - 1
• Length - 60"
• Width - 4"
2 x 5052 Aluminum Sheet & Plate (52SH025412) = Call for Price
• # of Cut to Size Pieces - 2
• Length - 30"
• Width - 4"
Thanks for the reply. I need to get each product detail. So basically first i need to get each product into string. So please help me in splitting on the basis of empty line if possible than i will use the the regex u have mentioned.
2 x Hot Rolled Steel Rectangle Bar (10050300) = Call for Price
• # of Cut to Size Pieces - 2
• Length - 47"
1 x Hot Rolled Steel Sheet & Plate (HRP016408) = Call for Price
• # of Cut to Size Pieces - 1
• Length - 60"
• Width - 4