This formula will inore the text and sum only number on left side of pipe symbol
Don't forget to press CSE (Ctril + Shift + Enter)

{=SUM(IF(ISNUMBER(--LEFT(A1:A4,FIND("|",A1:A4)-1)),(--LEFT(A1:A4,FIND("|",A1:A4)-1)),0))}