Carenburg Posted July 26, 2013 Share Posted July 26, 2013 Hey all, this is my first post here. I am not new to php (but I am newer to the OO aspect of php). I am working on a script that will find certain words or phrases in large text files. I guess the best thing to compare it to would be a bad word filter. What would you suggest to do this. Thanks muchly Carenburg Quote Link to comment Share on other sites More sharing options...
PravinS Posted July 26, 2013 Share Posted July 26, 2013 Use str_replace() function, you can also pass search and replace array http://php.net/manual/en/function.str-replace.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.