title: Regular expression for match string with new line char
body: <p>How use regular expression to match in text passphrase between <code>Passphrase=</code> string and <code>\n</code> char (Select: <code>testpasssword</code>)? The password can contain any characters.</p>
  
  <p>My partial solution: <code>Passphrase.*(?=\\nName)</code> => <code>Passphrase=testpasssword</code></p>
  
  <pre><code>[wifi_d0b5c2bc1d37_7078706c617967726f756e64_managed_psk]\nPassphrase=testpasssword\nName=pxplayground\nSSID=9079706c697967726f759e69\nFrequency=2462\nFavorite=true\nAutoConnect=true\nModified=2018-06-18T09:06:26.425176Z\nIPv4.method=dhcp\nIPv4.DHCP.LastAddress=0.0.0.0\nIPv6.method=auto\nIPv6.privacy=disabled\n
  </code></pre>