How to remove special character from string in php?
In this post,we will leran you how to remove special character from string in php.
1. Code:
2. Example:
Input:
"This - text ! has \\ /allot # of % special % characters"
Output:
This - text has allot of special characters