title: Grep all text following a specific format
body: <p>Hi ALl i have a list that look something like so</p>
  
  <pre><code>curl -x X3SzDf34
  curl -x X3SzDf34r
  curl -a X3SzDf43
  curl -x X3SzDfsdf
  curl -a X3SzDfsvx
  </code></pre>
  
  <p>basically looking to grep all lines that have curl -X and to select the entire line. The IDE i use has the grep search functionality built in so im trying to use that to delete the lines that have the curl -x. Keep in mind its a list of about 1000 lines. Can anyone please help.</p>
  
  <p>I tried the following </p>
  
  <pre><code> curl -x ([a-z, A-Z, 0-9]) 
  </code></pre>
  
  <p>but that didnt work. Any help would be appreciated. How do i search for a specific text in the front followed by any other combination of letters number and maybe even symbols.</p>