small change to regex, this will handle the case where we have something like "testing\/this/PN"