<p>So I've got a big text file which looks like the following:</p>

<pre><code>&lt;option value value='1' &gt;A
&lt;option value value='2' &gt;B
&lt;option value value='3' &gt;C
&lt;option value value='4' &gt;D
</code></pre>

<p>It's several hundred lines long and I really don't want to do it manually. The expression that I'm trying to use is:</p>

<pre><code>&lt;option value='.{1,}' &gt;
</code></pre>

<p>Which is working as intended when i run it through several online regular expression testers. I basically want to remove everything before A, B, C, etc. The issue is when I try to use that expression in Vim and Notepad++, it can't seem to find anything.</p>

This will remove the
```
option
```
tag and just leave the letters in vim:
```
```
:%s/<option.*>//g
```
```