title: regex new line match inside an angle brackets
body: <p>I want to find all the files which uses <code>&lt;Button&gt;</code> component with className props in Visual studio editor.</p>
  <p>Tried this regex <code>&lt;Button.*className.*&gt;</code> . It works partially. It didn't match the new line case. Kindly, check attached screenshot.</p>
  <p>Last line button component didn't match. Because, props entered in a new line. I tried <code>\n</code>. It didn't work..</p>
  <p><a href="https://regex101.com/r/y2lQUf/3/" rel="nofollow noreferrer">https://regex101.com/r/y2lQUf/3/</a></p>
  <p><a href="https://i.stack.imgur.com/cb4Ei.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cb4Ei.jpg" alt="enter image description here" /></a></p>