Home Forums Programming Powershell Get $ sign with -match RE: Get $ sign with -match
bruce 1565
SSCrazy
Points: 2574
More actions
December 30, 2015 at 2:27 pm
#1848846
The double quotes alter $600. Either use single quotes or escape the $ sign.
"this transaction will cost `$600" -match "\$\d{3}"