I have an assortment of data files consisting of multiple lines that are:

DataName : DatumValue

There are 20-40 lines per file -- 20-40 data per file. I am interested in 
extracting from each file just a few of the data and combining these into a 
single output file. So, I need to (for each open text file) find (in this 
example) two of the lines and output the data from them into a single line of 
the output file.

Search for 
^DataName1 : DataValue1\r
and
^DataName4 : DataValue4\r
and output a single line to the output file:
DataValue1\tDataValue4\r

Repeat the above for the next open text file and add its line to the existing 
output file.

Is it possible to do this using just BBEdit's Find/Replace and such, without 
resorting to Perl or some other type of script?


-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to