And I use Edit>Replace:a
b
c
Then Akelpad crashes.What:$+
With:
Also, what regular expression can I use to change this:
Into this:Test
D
;Earth;Mars
E
;Saturn
F
;Jupiter;Venus
Test;Earth;Mars;Saturn;Jupiter;Venus
And I use Edit>Replace:a
b
c
Then Akelpad crashes.What:$+
With:
Into this:Test
D
;Earth;Mars
E
;Saturn
F
;Jupiter;Venus
Test;Earth;Mars;Saturn;Jupiter;Venus
Test versiontempamir wrote:Then Akelpad crashes.
With SearchReplace.js:Also, what regular expression can I use to change this...
Thanks, that fixed it, now returns Syntax Error as it should.Instructor wrote:Test version
Didn't quite work, it returned:Instructor wrote:With SearchReplace.js:
What: (.*?)\n+
With: if ($1.length > 1) return $1;
[v] Regular expressions
[v] Replace with function
I need it to return:TestD ;Earth;MarsE ;SaturnF ;Jupiter;Venus
This seems to work:Test;Earth;Mars;Saturn;Jupiter;Venus
Or is there a better way?With SearchReplace.js:
What: \n+(.*?)\n+
With: ;
[v] Regular expressions
[v] Replace with function