Posted By

danfsmith on 02/03/11


Tagged


Versions (?)

Get-Content Regex Backreference


 / Published in: Windows PowerShell
 

  1. (Get-Content .\imageinfo.txt) -Replace '.*src="(.*jpg|.*gif|.*png)".*','$1'

Report this snippet  

You need to login to post a comment.