I am trying to create a regex, or python or groovy script to exclude a text string from output

This is the string to omit in the output of file.

Periodic rotation on 1670388849029

credential=Aq4ttLFmqajGSoGMUeV9JWLgCVjQ5M7E2/P0dHWS4yqt3ZNn/GS9bTdtzNoiUsOw1Y4seNQlf6qVNwDI7VG9iqbhNPT1Br2CV4mEfCPyhtpqQCbWpHsYIU099IcydRE8AAgw07VUwA8=
company.uuid=7692fe5b-2d8d-11e6-961e-0a038a50ff51

all the above changes after the = sign changes in addition to rotation number. But i want omit this from my current output.

here is what i currently have as script;

println “agent.conf##Agent Config”;
println “sbproxy.conf##SB Proxy Config”;
println “watchdog.conf##Watchdog Config”;
println “wrapper.conf##Wrapper Config”;
return 0;

File file = new File(“…/conf/##WILDVALUE##”);
println file.text;