Hello my friends,
I’m creating a custom template for invoices, in the field:
{{ doc.address_display}}
bring too much info(from imported data), so i just want to cut the last three lines, they are something like that:
Blahh
blahhssdas
blah
Phone: +1231231
Fax:+1231231
Email:sdas@asdadsa.com
I want just from first Blahh too the line before Phone:… With regex it’s too easy to do this, but with default jinja2 replace, i can’t make it.
If you can guide me on this, i would appreciate it!