title: Use jq to find array element by containing string
body: <p>I have an array "operations" from which I would like to return all the elements that contain a  matching string like <code>"w51"</code>. Until now, all the samples I have found dealt with key value pairs. I am using <code>jq '.operations[]' &lt; file</code> to retrieve the elements.</p>
  
  <pre><code>{
    "operations": [
      [
        "create",
        "w51",
        "rwt.widgets.Label",
        {
          "parent": "w41",
          "style": [
            "NONE"
          ],
          "bounds": [
            101,
            0,
            49,
            42
          ],
          "tabIndex": -1,
          "customVariant": "variant_pufferLabelLogout"
        }
      ],
      [
        "create",
        "w39",
        "rwt.widgets.Composite",
        {
          "parent": "w34",
          "style": [
            "NONE"
          ],
          "children": [
            "w52"
          ],
          "bounds": [
            0,
            42,
            762,
            868
          ],
          "tabIndex": -1,
          "clientArea": [
            0,
            0,
            762,
            868
          ]
        }
      ]
    ]
  }
  </code></pre>
  
  <p>My expected output when searching for an array element that contains "w51" would be this:</p>
  
  <pre><code>[
        "create",
        "w51",
        "rwt.widgets.Label",
        {
          "parent": "w41",
          "style": [
            "NONE"
          ],
          "bounds": [
            101,
            0,
            49,
            42
          ],
          "tabIndex": -1,
          "customVariant": "variant_pufferLabelLogout"
        }
  ]
  </code></pre>