i have a string like this..

```
<mytag>one line</mytag><mytag>second line with other tag <color=red>this words are red</color></mytag><youtube>GY7IU5FU</youtube>

```

How can i get this..

```
1 - (TAG) - mytag
1 - (DATA) - one line
2 - (TAG) - mytag
2 - (DATA) - second line with other tag <color=red>this words is red</color>
3 - (TAG) - youtube
3 - (DATA) - GY7IU5FU

```

Im trying with this but not work 

```
<(.*).*?<\/?\1>

```