How do I replace a word with a new line and a word using regex with an empty string in Powershell? -
how replace word new line , word using regex empty string in powershell?
below sample content... need delete use database
, go
i'm using powershell , powershell_ise editor:
use database_instance
go
if condition
you need match newline
, space
after newline:
/use database_\w+\n\s*\w+/g
Comments
Post a Comment