How can I use a regular expression to replace any text between quotes for a -replace statement? I can get it to work with static text, but it could be virtually any text.
Example:
$filecontent -replace 'AssemblyCopyright("text")', 'AssemblyCopyright("Copyright © 2016 myCompany")' | Out-File $file
given the AssemblyCopyright("text") could actually be anything including blank
AssemblyCopyright("")
