Hi,
I've got a list with lines of 11 different words and numbers. Each of this single line should be converted in 11 XML-lines. But with \1,\2,..,\9 I can only adress 9 of these values per line . What can I do to use all fields of a line with one Find-and-Replace action?
I want: replace line:
word1 TAB word2 TAB ..... word11
with:
<xml1>somthing with word1</xml1>
<xml2>blabla word2</xml2>
...
<xml11>a sentence with word11</xml11>
I thought about this Macro:
For Find I use: "^(.*)\t(.*)\t...\t(.*)\r\n$"
For Replace All: "<xml1>something with \1</xml1>
... <xml9>now using \9</xml9>"
I've got a list with lines of 11 different words and numbers. Each of this single line should be converted in 11 XML-lines. But with \1,\2,..,\9 I can only adress 9 of these values per line . What can I do to use all fields of a line with one Find-and-Replace action?
I want: replace line:
word1 TAB word2 TAB ..... word11
with:
<xml1>somthing with word1</xml1>
<xml2>blabla word2</xml2>
...
<xml11>a sentence with word11</xml11>
I thought about this Macro:
For Find I use: "^(.*)\t(.*)\t...\t(.*)\r\n$"
For Replace All: "<xml1>something with \1</xml1>
... <xml9>now using \9</xml9>"