Find index of list item
<p>Im having some kind of mental block or something I think.
I have a list of dates and times that were extracted from larger list items using regex -</p>

<pre><code>dates = [['2015-2016'], ['24/08/15'], ['0900-1045'], ['1045-1100'], ['1200-1300'], ['1300-1430'], ['1430-1450'], ['1450-1550'], ['31/08/15'], ['0900-1030'], ['1200-1300'], ['1300-1600'], ['07/09/15', '18/09/15'], ['21/09/15'], ['0900-1000'], ['1100-1200'], ['1200-1300'], ['1400-1530']]
</code></pre>

<p>Im unsure why this created a list of single item lists but it has,I have been trying to find the index of an item via </p>

<pre><code>dates.index("0900-1045")
</code></pre>

<p>I have tried various search strings, the one above, "'0900-1045'" and ['0900-1045'] but what ever i do I get 'ValueError: "'0900-1000'" is not in list' or whatever text i used.
I would try searching for a partial string if possible but I dont know how.</p>

<p>Any suggestion why its not found ?  </p>

<p>Stevo</p>