How to search using wildcard in VIM : <p>Using the standard search function (/) in VIM, is there a way to search using a wildcard (match 0 or more characters)?</p>

<p>Example:</p>

<p>I have an array and I want to find anywhere the array's indices are assigned. </p>

<pre><code>array[0] = 1;
array[i] = 1;
array[index]=1;
</code></pre>

<p>etc. </p>

<p>I'm looking for something along the lines of </p>

<pre><code>/array*=
</code></pre>

<p>if it's possible. </p>
