I'm new to htaccess coding

I've got this code:

RewriteRule ^(\w+)/?$ index.php?mode=$1

I need to do the same to domain/category-name

I can't find a way to get the rewrite to work with a dash (-). Can someone provide a code?

Thanks