Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Fórum ➡ Using Regex to insert "item" tags into the unique "list" tag o...

Language: Editor: Layout:
+ ] Show input
Compilation time: 0,14 sec, absolute running time: 0,19 sec, cpu time: 0,19 sec, average memory usage: 17 Mb, average nr of threads: 4 
fork mode |  history  | discussion
<data><id>54321</id><list><item>First</item><item>Second</item><item>Third</item><item>Fourth</item><item>Fifth</item></list></data>


<data><id>54321</id><list>
<item>First</item>
<item>Second</item>
<item>Third</item>
<item>Fourth</item>
<item>Fifth</item></list></data>


Hello, world!