diff --git a/lib/consumers/amqp.js b/lib/consumers/amqp.js
index <HASH>..<HASH> 100644
--- a/lib/consumers/amqp.js
+++ b/lib/consumers/amqp.js
@@ -70,7 +70,7 @@ Consumer.prototype.consume = function (socket, data) {
   if (!_.isUndefined(data.id) && _.isString(data.id)) {
     // this consume request is hinting at sharing the event workload with other clients (by specifying an explicit id).
     // allow clients with the same id and routingKey to bind to the same amqp queue
-    var queueName = data.id.replace(/[\W-]/g, '').trim();
+    var queueName = data.id.replace(/[^\w-]/g, '').trim();
 
     if (queueName) {
       options.queue.name = 'shared-' + data.routingKey.replace(/\W/g, '') + '-' + queueName;
fix queue name sanitization regexp