Thank you Joffm, it works for 1 attachment, but maybe I can have problems because the user can upload up to 10 files.
In this case I should use strpos offset but the formula could be complicated.
I have [{ "title":"title inserted","comment":"","size":"589.63671875","name":"19102022.pdf","filename":"fu_6nzjjxkrdjw6uh9","ext":"pdf" },{ "title":"title2 inserted","comment":"","size":"589.63671875","name":"20102022.pdf","filename":"fu_6nzjjxkrdjw6uh9","ext":"pdf" },{ "title":"title3 inserted","comment":"","size":"589.63671875","name":"21102022.pdf","filename":"fu_6nzjjxkrdjw6uh9","ext":"pdf" }]
But now I understood that I can use php inside the placeholders and perhaps I can use explode function or something else creating an array and then exctract information from a key-value array.
I don't know how to deal with it because I don't use php since 2010, but I can try!