I want to convert the following PowerShell code into QM code. I don't know what to use as a replacement for the newline character
If don't add
newline characters, the end of the line will appear as indicated by the red arrow in the following image
![[Image: a.png]](https://i.ibb.co/NtNHJQV/a.png)
Thanks in advance for any suggestions and help
_s.replacerx("(★[^\n]+)\n((?:\n?AAA[^\n]+)+)", "$2\n$1\nXXX\n$2\nVVV")
Powershell Code:
If don't add
newline characters, the end of the line will appear as indicated by the red arrow in the following image
![[Image: a.png]](https://i.ibb.co/NtNHJQV/a.png)
Thanks in advance for any suggestions and help
_s.replacerx("(★[^\n]+)\n((?:\n?AAA[^\n]+)+)", "$2\n$1\nXXX\n$2\nVVV")
Powershell Code: