The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › .htaccess error › Re: .htaccess error
yes, there should be a single space.
Also, you don’t need two rules: just make the trailing slash optional.
RewriteRule ^([-_a-zA-Z0-9]+/?)$ profile.php?u=$1