Guest User

Untitled

a guest
Dec 13th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. [regex]::Replace($s,'(?<=(?<!\)(?:\{2})*)[$#]w{1,10}b', {param($match) $vartable[$match.Value] })
  2.  
  3. $s -replace '(?<=(?<!\)(?:\{2})*)[$#]w{1,10}b', { $vartable[$_.Value] }
Add Comment
Please, Sign In to add comment