Boo Yah!
I wrote regexs that worked the first second time! That rarely happens.
For the record for interested parties the regex to match is (GIVN (.*)?[\r\n](2 _MIDN (.*)?\n))
The regex to do the replacement is GIVN \2 \4\n
I tested it with Kate, a text editor that has an option to use regular expressions in search and replace functions. Here's one chunk from the file I downloaded from WikiTree:
0 @I6@ INDI
1 NAME Edwin Lewis /Ebaugh/
2 GIVN Edwin
2 _MIDN Lewis
2 SURN Ebaugh
1 SEX M
Same chunk, after processing:
0 @I6@ INDI
1 NAME Edwin Lewis /Ebaugh/
2 GIVN Edwin Lewis
2 SURN Ebaugh
1 SEX M
1 BIRT
On Windows you can do this with Notepad++, which I think is preinstalled? Load a copy of the WikiTree GEDCOM into Notepad++. Bring up the Replace dialog box (Ctrl+H) and select the Regular Expression search mode.
Find what: (GIVN (.*)?[\r\n](2 _MIDN (.*)?\n))
Replace with: GIVN \2 \4\n
You might need to replace with GIVN \2 \4\r\n on Windows because Windows is weird.
Macs I don't know. It seems like something would be easily available, but I haven't paid attention to that world since last century. (Late 90s :) )
See what I was talking about dark arts?