I have the following string:

```
var myString = '<p><i class="someclass"></i><img scr="somesource"/><img class="somefunnyclass" id="{{appName}}someExtraStuff.fileExt"/><span class="someclass"></span></p>';

```

how can i get with the least code the **someExtraStuff.fileExt** section?

should i do indexOf `{{appName}}` and then until the next **`"/>`** ?