I have a data set that has individuals' responses to a series of items 
represented as separate lines (note that I've put spaces around the \t only 
for clarity):

item1 \t person-nameA \t variable1 \t variable2 \t item-response
item2 \t person-nameA \t variable1 \t variable2 \t item-response
item3 \t person-nameA \t variable1 \t variable2 \t item-response
item1 \t person-nameB \t variable1 \t variable2 \t item-response
item2 \t person-nameB \t variable1 \t variable2 \t item-response
item3 \t person-nameB \t variable1 \t variable2 \t item-response
...
item3 \t person-nameN \t variable1 \t variable2 \t item-response

I would like to write a reg ex so that I can create a spreadsheet that 
would represent the data as 

person-nameA \t variable1 \t variable2 \t item1-response \t item2-response 
\t item3-response
person-nameB \t variable1 \t variable2 \t item1-response \t item2-response 
\t item3-response
...
person-nameN \t variable1 \t variable2 \t item1-response \t item2-response 
\t item3-response

This is beyond my skill level, but surely well within the capacity of 
several of y'all, so I'd appreciate a rescue. 

Tnx.

JohnL

-- 
This is the BBEdit Talk public discussion group. 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>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to