Lessons:26Length:1.7 hours
• Overview
• Transcript

# 3.2 Porting the Previous Exercise to PHP

In this lesson we'll load our text into a variable within PHP. We'll learn how to use preg_replace() function along with our regular expression to find and replace the code tags within our file. There are several  preg_replace functions available to you which can be found in the documentation.