I was able to write a script in python that does what I want. Posting it here for others to reference if needed.

import sys
import re

flag = False

out = open('YOUR FILE NAME HERE'+'_adjusted'+'.gcode', 'w')

with open('YOUR FILE NAME HERE.gcode') as f:
for r in f:
if re.search('G1 F', r):
feedrate = r[3:]
flag = True
print(r[:-1] + ' ' + feedrate) # get rid of new line
elif flag:
r = r[:-1] + ' ' + feedrate
out.write(r)
flag = False # Reset flag
else:
out.write(r)
flag = False # Reset flag