PHP Regular Expressions – Part VII Introduction We have seen some uses of regex in PHP. We know how to verify if a regex is found in a subject string. We know how to find the position of matched regex in the subject string. Note that the subject string can be a whole page of text. In this part of the series, we shall learn two important features titled “Search and Replace” and “The Split Operation”. Before we leave this part we shall talk about the regex delimiter. Let us start with a very small... Sign in to see full entry.