I have the following redirect in .htaccess file:
RewriteRule ^tasks/(\w+)/?$ /projects.php?task=$1
If I'm trying to access a URL like /tasks/nov-1 it will say object not found as \w does not accept "-". Can you please help with adding "-" in the above redirect rule?