PHP Regular Expressions – Part VI Introduction Many of the examples we have come across are simple examples. In this section we look at two examples that are more demanding. Before we leave this part of the series, we shall talk about what is called Backtracking. Steps required to Build a Regex These are the steps required to build a regex: - Specify the task in detail, - Break down the problem into smaller parts, - Translate the small parts into regexes, - Combine the regexes, - Optimize the... Sign in to see full entry.