Lessons:26Length:1.7 hours
• Overview
• Transcript

# 5.3 Removing Whitespace

In this lesson we'll look at a simple way to select trailing whitespaces at the beginning or end of a string. Then we'll go back to PHP and use preg_replace() to remove the trailing whitespace.