in reply to Re^2: Paste comments in a document
in thread Paste comments in a document

make it match anything between the EDO= and the next = sign
($EDO) = /=EDO=([^=]+)=/ if /^=/;

(the character class [^=] matches anything but a = sign)