Running Powershell through Notepad++ or SublimeText for using a better and complex Regex formulas

Suzana Eree 811 Reputation points
2021-03-12T11:01:53.737+00:00

hello, I have a lot of regex formulas that works super in notepad++ or in sublime text. The problem us that PowerShell cannot run complex regex such as ^([\t ]*(\S+[\t ]+){1}\K(\S+), cannot read function like \K \G and also cannot make replacement such as ?1\U\1 or (?{1}\1)

PowerShell it is very limited in terms of regex.

So, to run more complex regex formulas, I wondered if it could somehow integrate notepad++/SublimeText or if it could somehow run regex via Notepad ++ or SublimeText.

Suppose I write a command in PowerShell that will connect Notepad++ or SublimeText, and through one of them to run the regex.

can be done something like that?

Because PowerShell is a very powerful program, and it cannot remain limited in terms of certain operations that work perfectly in other programs.

I, myself, cannot use PowerShell because cannot using much complex regex formula.

Someone that develops PowerShell can ask someone from Notepad++ or SublimeText to give a solution to integrate. Remember that: A very good program is one that can run any functions from other programs

maybe you can import some NPP https://sourceforge.net/projects/npp-plugins/files/

something can be done ! otherwise people will prefer another programs for regex. PowerShell would be much more powerful if it could integrate Notepad ++ or SublimeText functions.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,355 questions
{count} votes