Extract a line or multiple lines from a text
Extract a line or multiple lines from a text
Hi is there a way to extract a line or multiple lines from a text?
Re: Extract a line or multiple lines from a text
You can use text gatherers at Project -> Text Gatherers. To extract, say, the first line, you'd create a text gatherer (call it "FirstLine"), then select Add Step -> Slice. Then save it and, on your Extract action, instead of extracting the Text property, extract the JS_FirstLine property. If you want to extract, say, everything after the first line, you'd use a Regular Expression step (instead of a Slice one) with this expression:
And select 1 in the Group Position.
Code: Select all
\n((.|\n)+)
Juan Soldi
The Helium Scraper Team
The Helium Scraper Team