I gang

Small Perl script to extract a chunk of text.

I have been using the Perl line:

perl -e 'while (<>){print if (/^START/../^END/);}' [url removed, login to view]

to extract a chuck of text in between START and END in a text file and write it to standard output. I would like to improve on this a bit and write a script that would write TWO files -- one with the extracted lines and one that will be the original file MINUS the extracted line.

The command line should then take 3 files as in:

extract -orig [url removed, login to view] -new [url removed, login to view] --extracted [url removed, login to view]

where [url removed, login to view] will be the same as the original minus the extracted lines and [url removed, login to view] will contain the extracted lines (in between START and END).

Test file is attached.

Evner: Perl, Software Arkitektur

Se mere: perl extract substring between two patterns, perl extract string after pattern, perl extract string between delimiters, perl extract word from string, perl regex extract multiple matches, perl extract string between two patterns, perl extract substring regex, perl extract substring pattern, perl script extract line file, perl script extract xml csv, perl script extract data text file, perl script extract email address, perl script extract file, perl script extract email addresses file, perl script extract email address file

Om arbejdsgiveren:
( 63 bedømmelser ) Oakland, United States

Projekt ID: #16359756

Tildelt til:


hi, yes, I could make this extract stuff in a hour (dummy placeholder to enter at least 100 characters)

$25 USD / time
(5 bedømmelser)

3 freelancers are bidding on average $23/hour for this job


**UPDATE** Ready to give script! Dear Sir, I think I can help to you. I have strong skills with perl. I would to write a script file which can do functionality you want. Let me know if you have any questions. Flere

$22 USD / time
(3 bedømmelser)

Hi, I am a professional web developer with good experiences in extract of special in the text. I understand what you want. Please contact me. Let' s discuss more detail. TYG.

$22 USD / time
(2 bedømmelser)