RegExpr: extract all characters, including in new lines


How do I extract all characters, including in new lines after a certain word? There could be any number of new lines



This only extracts text on the same line & next line as “Toys”


HI @Anonymous2

Can you pass me an example of what is the string is and what text you are trying to pick…

Happy Automation :slight_smile:


Hi Shubham_Varshney

I can’t provide you with the exact file due to confidentiality. Attached is an example It would be everything after the word “Toys”. Hence from the example
sample.txt (159 Bytes)

Quantity 3

Price 5
Sales 15




I can suggest an alternative

  1. Look for the text Toys in the string
  2. Split it using that
  3. The value can be found in the array field as required :slight_smile:

Hope this helps :smiley:

Happy Automation :smiley:

Got the regex as well for the same :slight_smile:


1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.