quick and dirty fix: select the edges you want to fill. extrude the edges - select all the new verts and snap them together (just enable grid snap and move them somewhere). then merge verts, and you are done. if you dont like the triangles, just delete every other new edge. then move the vert in the middle so that the new side is flat.