Question: The following will highlight "timeout" on the second line but will not highlight it ever again. Does gtksourceview support some sort of backreference on the "sub-pattern" that will match all instances throughout the file ?

[gtksourceview website manual](http://developer.gnome.org/gtksourceview/stable/lang-reference.html)

/usr/share/gtksourceview-2.0/language-specs/c.lang

```html
<context id="struct" style-ref="struct">
     <match>\bstruct\b\s\w+\s(\w+)</match>
          <include>
               <context sub-pattern="1" style-ref="structname"/>
          </include>
</context>

```

```c
int ns;
struct timeval timeout;
timeout.tv_sec = 1;
timeout.tv_usec = 0;

setsockopt(ns, SOL_SOCKET, SO_SNDTIMEO, &timeout, sizeof(timeout));
setsockopt(ns, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout));

```

Answer: 
This is simple using the find and replace command from the standard menu.

```
Find AI  replace with ""
Find AU  replace with ""

```

...repeat for BH BM BR

```
Find - replace with ""

```

Done in 6 steps.
You could use `MID` like this (assuming the data you want to replace starts on B2:

```
=MID(B2,4,1)

```

On every line, and then just copy, and using `Paste Special`, paste the values.