Php – preg_replace help to remove empty "li" element
Hi I need a script to remove, from a html string, all "li" elements empty or with only spaces. But also with inside empty tag (one or nested empty tags) I use this preg_replace to remove succesfully only empty "li".…