Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Jul. 12th 2017

Let's Build A Forum with Laravel and TDD: Wrap Usernames Within Anchor Tags

Episode 59 Run Time 7:34

Download

Now that we can successfully notify mentioned usernames within a reply, let's begin updating the UI. First up, we'll match any usernames, and wrap them within anchor tags that link to their profile.

View the source code for this episode on GitHub.