diff --git a/src/containers/import-modal.jsx b/src/containers/import-modal.jsx
index 169378e1a24a0e84c4de306945f112a5461ac4cd..e3112da072c1808dd06d011d29216fbab2bb1ef4 100644
--- a/src/containers/import-modal.jsx
+++ b/src/containers/import-modal.jsx
@@ -50,9 +50,13 @@ class ImportModal extends React.Component {
         this.setState({inputValue: e.target.value});
     }
     validate (input) {
-        const matches = input.match(/^(https:\/\/)?scratch\.mit\.edu\/projects\/(\d+)(\/?)$/);
-        if (matches && matches.length > 0) {
-            return matches[2];
+        const urlMatches = input.match(/^(https:\/\/)?scratch\.mit\.edu\/projects\/(\d+)(\/?|(\/#editor)?)$/);
+        if (urlMatches && urlMatches.length > 0) {
+            return urlMatches[2];
+        }
+        const projectIdMatches = input.match(/^(#?)(\d+)$/);
+        if (projectIdMatches && projectIdMatches.length > 0) {
+            return projectIdMatches[2];
         }
         return null;
     }