Get text from paragraph

I marked the text, I want to extract?
Pls solve

Can you send me the input text?

Regards,
NaNi

Getting a text from the website using data scraping…https://www.thehindu.com/business/markets/rupee-surges-27-paise-to-7419-against-us-dollar-in-early-trade/article37376319.ece

Tu get a text you need to check if that has any Anchor/Keyword that can help you split the text

If this is the text, thb you can split with the keyword “AAA” and “Related Articles”

You can use regex or simply the split function

Regex.Match(inputStr, “(?<=AAA)([\S\s]*)(?=Related Articles)”).Value

Make sure you install namespace for System.Text.Regex

1 Like

Related articles mean?

Hi!

Create a variable Reg=System.Text.RegulerExpressions.Regex.Match(Reg, “(?<=AAA)([\S\s]*)(?=Related Articles)”).Value

store the input data in Reg. by using assign activity.

Regards,
NaNi

On your text there was this text below the part which needs to be extracted. So we can usethis as Keyword to spilt the content and get required vpart extracted.

1 Like

Thanks a lot

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