The issue I'm having using power shell is that I don't seem to be able to use replace while mixing named groups and variables. I can have one or the other, but not both.
It depends what type of quotes you're using. If you use single quotes, variables aren't expanded. If you use double quotes, variable expansion works. However, you need to keep in mind any special characters that might interrupt the regex engine, like the dollar sign.
@@TrevorSullivan I've tried single and double quotes and all sorts. It works if I run the code for a single line, but not if I parse a file using Get-Content.
Loving the editing work, Trevor, nice one!
Good tutorial and I also noted the reel of PLA in the background....hello fellow 3D printer!
The issue I'm having using power shell is that I don't seem to be able to use replace while mixing named groups and variables. I can have one or the other, but not both.
It depends what type of quotes you're using. If you use single quotes, variables aren't expanded. If you use double quotes, variable expansion works. However, you need to keep in mind any special characters that might interrupt the regex engine, like the dollar sign.
@@TrevorSullivan I've tried single and double quotes and all sorts. It works if I run the code for a single line, but not if I parse a file using Get-Content.
What do you use when creating your video that moves your webcam video from fullscreen to a smaller screen down in the right hand corner?
Awesome...thanks Trevor!
+ sign is not been used it's give error in string