URL Branding

Trading some information for information here.

To use URL branding, just add...

#RewriteBase /
RewriteRule ^([A-Za-z0-9\_\-]+)$ http://%{HTTP_HOST}/pg/profile/$1  [R]

to your htaccess file.  Now users can use "http://yourdomain.com/username" to link their profiles.

 

I need to know how to add a line of non linked text that says "domain.com/username" somewhere on the users profile page.  How do I get the "username" part to display?