title: Printing All Regex Matches
body: <p>I'm using the perl/sed commands below to capture and print regex matches, unfortunately, both only print the first match in a line, rather than all matches. How can I modify either or both commands to print all matches? Grep and Awk alternative commands are welcome.</p>
  
  <p><code>perl -nle 'print "$1" if /.*([0|1]\.[0-9]{0,2}).*/'</code></p>
  
  <p><code>sed -rne "s/.*([0|1]\.[0-9]{0,2})/\1/p"</code></p>