diff --git a/files/helpers/regex.py b/files/helpers/regex.py
index 35a65de693..39a4d0a452 100644
--- a/files/helpers/regex.py
+++ b/files/helpers/regex.py
@@ -43,7 +43,7 @@ title_regex = re.compile("[^\w ]", flags=re.A)
controversial_regex = re.compile('https:\/\/old\.reddit\.com/r/\w{2,20}\/comments\/[\w\-.#&/=\?@%+]{5,250}', flags=re.A)
spoiler_regex = re.compile('\|\|(.+?)\|\|' + NOT_IN_CODE_OR_LINKS, flags=re.A)
-sub_regex = re.compile('(?|")~{1,2}([^~]+)~{1,2}' + NOT_IN_CODE_OR_LINKS, flags=re.A)
diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py
index 22cce58a62..1f5e7b307b 100644
--- a/files/helpers/sanitize.py
+++ b/files/helpers/sanitize.py
@@ -449,7 +449,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=False, count_emojis
sanitized = sanitized.replace('/\1', sanitized)
- sanitized = sub_regex.sub(r'/\1', sanitized)
+ sanitized = hole_name_regex.sub(r'/\1', sanitized)
v = getattr(g, 'v', None)