In PHP you get the strip_tags() function which allows you to remove all or only specific tags from your string, but it doesn't remove the content between the tags. This is where this function comes in handy. It uses dynamic opening and closing tags and searches for them in the supplied string, and them removes the tags and the content between them.
-
Notifications
You must be signed in to change notification settings - Fork 0
This PHP functions uses dynamic opening and closing tags and searches for them in the supplied string. It then removes them with its content.
License
MJNinja/remove-tags-and-its-content
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This PHP functions uses dynamic opening and closing tags and searches for them in the supplied string. It then removes them with its content.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published