"-dhello;-egoodbye;-lcul8r" -replace "-d.*;","-dbonjour;"
得到:
-dbonjour;-lcul8r
是不是可以摆脱它goodbye?
goodbye
regex powershell
powershell ×1
regex ×1