PHP Regular Expressions – Part I Introduction Consider the string, “This is a man”. Assume that you do not know the content of the string; the string might have been typed by the user and the PHP code has assigned it to a variable. You may have the following two questions: 1) Does the sting have the word, “man”? 2) If the string has the word, “man”, can you change it to “woman”. There are many other questions that are similar (and rather complex) to the above two questions. Handling this in code... Sign in to see full entry.