Boolean Difference won't work.

 From:  Frenchy Pilou (PILOU)
11519.2 In reply to 11519.1 
Make a big box (top & bottomdown) from your rectangle
kill or hide all curves
Boolean Diff
Kill the rest

EDITED: 18 Aug 2024 by PILOU