diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -29,7 +29,7 @@ const tapJunit = () => {
 
 	const sanitizeString = (str) => {
 		if (str) {
-			return str.replace(/\W/g, '').trim();
+			return str.replace(/[^\w-_]/g, '').trim();
 		}
 
 		return str;
Relax string sanitation rules to include - and _