In database, the html contents are stored as string. In there, I want to get the file names as array.
For example, the string is:
"info": [], "title": "Neues Kapitel", "videos": [], "children": [], "html1": "<p><img class=\"fr-dib fr-fil\" src=\"files\/1\/first.jpg" style=\"width: 300px;\"></p>","info": [], "title": "Neues Kapitel", "videos": [], "children": [], "html2": "<p><img class=\"fr-dib fr-fil\" src=\"files\/1\/second.jpg" style=\"width: 300px;\"></p>"
So the result file names will be: ['first', 'second']
Anyone who knows, please let me know. Thanks.