title: Select objects with certain prefix in maya with Python
body: <p>I would like to select al objects with a certain prefix.</p>
  
  <p>screenshot of outliner:</p>
  
  <p><a href="https://i.stack.imgur.com/zBUS4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zBUS4.jpg" alt="enter image description here"></a></p>
  
  <p>the only way I found is to select all lights , but I want only the lights with this prefix to append in my array.</p>
  
  <p>What I have now : 
  selectionLights = cmds.ls(type=['aiAreaLight'])
  lights.extend(selectionLights)</p>
  
  <p>If someone can help me , would be amazing !</p>