Hi
Try this if your data is formed like in your example:

Search for:
^([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\r]*)\r([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\r]*)\r([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\r]*)\r
Replace with:
\2\t\3\t\4\t\5\t\10\t\15\r

This:
item1 person-nameA variable1 variable2 item-response1
item2 person-nameA variable1 variable2 item-response2
item3 person-nameA variable1 variable2 item-response3
item1 person-nameB variable1 variable2 item-response1
item2 person-nameB variable1 variable2 item-response2
item3 person-nameB variable1 variable2 item-response3
item1 person-nameA variable1 variable2 item-response1
item2 person-nameA variable1 variable2 item-response2
item3 person-nameA variable1 variable2 item-response3
item1 person-nameB variable1 variable2 item-response1
item2 person-nameB variable1 variable2 item-response2
item3 person-nameB variable1 variable2 item-response3
item1 person-nameA variable1 variable2 item-response1
item2 person-nameA variable1 variable2 item-response2
item3 person-nameA variable1 variable2 item-response3
item1 person-nameB variable1 variable2 item-response1
item2 person-nameB variable1 variable2 item-response2
item3 person-nameB variable1 variable2 item-response3
item1 person-nameA variable1 variable2 item-response1
item2 person-nameA variable1 variable2 item-response2
item3 person-nameA variable1 variable2 item-response3
item1 person-nameB variable1 variable2 item-response1
item2 person-nameB variable1 variable2 item-response2
item3 person-nameB variable1 variable2 item-response3

Looks then like
person-nameA variable1 variable2 item-response1 item-response2 
item-response3
person-nameB variable1 variable2 item-response1 item-response2 
item-response3
person-nameA variable1 variable2 item-response1 item-response2 
item-response3
person-nameB variable1 variable2 item-response1 item-response2 
item-response3
person-nameA variable1 variable2 item-response1 item-response2 
item-response3
person-nameB variable1 variable2 item-response1 item-response2 
item-response3
person-nameA variable1 variable2 item-response1 item-response2 
item-response3
person-nameB variable1 variable2 item-response1 item-response2 
item-response3

Greetings from the rainy Zurich
Hans

>
>

-- 
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