I'm trying to match string which can be between single or double quote and must follow with a specific text.

`input`: 

```
<title ng-bind="'key_name' | i18n"></title>

```

or can be

```
<span class="sr-only">{{ 'key_name' | i18n }}</span>

```

or

```
<span class="sr-only">{{ "key_name" | i18n }}</span>

```

I want to capture that `key_name` 

This is what I have so far but failed.

```
["']([^)]+)["']\s|\si18n

```