diff --git a/napalm/junos/junos.py b/napalm/junos/junos.py
index <HASH>..<HASH> 100644
--- a/napalm/junos/junos.py
+++ b/napalm/junos/junos.py
@@ -2369,7 +2369,7 @@ class JunOSDriver(NetworkDriver):
 
         options = {"format": "text", "database": "candidate"}
         sanitize_strings = {
-            r"^(\s+community\s+)\w+(\s+{.*)$": r"\1<removed>\2",
+            r"^(\s+community\s+)\w+(;.*|\s+{.*)$": r"\1<removed>\2",
             r'^(.*)"\$\d\$\S+"(;.*)$': r"\1<removed>\2",
         }
         if retrieve in ("candidate", "all"):
add sanitized regex for junos