Problem with htaccess url rewrite

I have this in my htaccess:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/?$ index.php?name=$1&dircontent=album&album=$2 [L]

My problem is that if the album name is something with slashes (for example: blabal/fdfdg) it makes an error in my website and don’t show the page.
How I can fix it?

It’s typical to create a “slug” for names that appear in the URL. Non-URL-safe characters are stripped out and replaced with a URL-safe separator (most commonly the hyphen). So, for example, “problem with htaccess url rewrite” converted to a slug would be “problem-with-htaccess-url-rewrite”. And “blabal/fdfdg” would be “blabal-fdfdg”.

Oh great idea