PSPad:
--------------------------------------------------------------------------------
I am looking for a script that will extract just the verses and join.

Main Source:
Isa 49:5-8 that formed. 
Isa 51:5; 60:9; 66:19; Zep 2:11 the isles. 
Jer 1:5 Before I.

The expected result should look like this:
Isa 49:5-8; Isa 51:5; 60:9; 66:19; Zep 2:11; Jer 1:5
--------------------------------------------------------------------------------


Hi,
you can use a regular expression replacement and join the lines of this part
after that:

Search for last digit, folowed by a space and any non-digit characters until the
end of line; replace with that last digit and a semicolon:

(\d) \D*$
Replace with (regex)
$1;


After that, use 
Edit: Lines manipulation: Join lines

(There is an extra semicolon at the end too in the result too.)
hth
   vbr

-- 
<https://forum.pspad.com/read.php?2,77470,77471>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem