Chapter 20 – Regular Expressions and Validation
- regular_expression_exercises.php – Answers to exercises
- process_email_text.php – Remove line feed characters
- process_spam.php – Remove characters that are specific to email spamming
This code sample is from a chapter in the book PHP-Tutorials:Programming with MySQL and PHP.
You can read more about the book by going here:
or go to more code samples by going here: