i have this web source

    <div id="Family">
       <div class="Male">
          <div id="m-1234" class="boy">
          <div id="m-5678" class="boy">
          <div id="m-9012" class="boy">
    </div>  

I want to save id starts with 'm-' in array and want to click on these element using selenium IDE.
Much appreciated.