title: Delete all resources via OC CLI with name contain some words
body: <p>I am looking for a command to delete all resources in openshift, with name contain some words.</p>
  <p>I found this but NOT specific to mine. <a href="https://stackoverflow.com/questions/63068873/delete-all-pods-when-starts-for-a-word-uncomplete-name-of-the-pod">POD delete</a></p>
  <p>I tried below</p>
  <pre><code>oc get all -- selector | awk '/^&lt;some word&gt;/{system(&quot;oc delete all --selector &quot; $1)}'
  </code></pre>
  <p>it gives below error though. Other thing search should be any part of the name.(not just beginning)</p>
  <pre><code>error: you must specify only one resource
  </code></pre>
  <p>Further I noticed below command won't delete <code>configmap</code></p>
  <pre><code>oc delete all --selector app=&lt;app_name&gt; -o name
  </code></pre>