I have a long description text that I scrap from a website.
I want to extract some of the information and return it to a output variable.
Can anyone help/advice me on this ?
I highlighted the words that I want to extract in bold.
B) For Insert and Modify : Modify Information of Products
(Must check and verify)
Existing Products & Quantity & ID (1) Jeans 75 J73820 (2) Shirts 10 S02932 (3) Bottoms 2 B0239
*Order ID (Customer Purchase): THK78183XL9102
*Item to check: Stock, Brand
*Before and after:
CURRENT
----------------------------------------------------------------------------- Product ID : J73820 Quantity : 75 Title : Jeans Brand: XXXX ----------------------------------------------------------------------------- NEXT ACTION Increase stock
TO BE
----------------------------------------------------------------------------- Product ID : J73820 Quantity : 100 Title : Jeans Brand: XXXX ----------------------------------------------------------------------------- NEXT ACTION Add 25 unit
And the Before and after items also can be change if more products available. But the content like Product id, quantity, title brand will be fixed. And the word like CURRENT, TO BE also will be fixed
CURRENT
----------------------------------------------------------------------------- Product ID : J73820 Quantity : 75 Title : Jeans Brand: XXXX ----------------------------------------------------------------------------- NEXT ACTION Increase stock
TO BE
----------------------------------------------------------------------------- Product ID : J73820 Quantity : 100 Title : Jeans Brand: XXXX ----------------------------------------------------------------------------- NEXT ACTION Add 25 unit
Hi @Pradeep_Shiv , thank you for the answers that you provided.
It definitely help me in my workflow development and help me to understand how the regex works.
I will look at the example you provided for my different use case also.
Thank you so much