2069

def __validateVideoName(videoname):
    import string
    rs = False
    if videoname:
        whiteSpace = False if re.search(' ',videoname) else True
        specialChar = True if re.compile('[a-zA-Z0-9._-]+$').match(videoname) else False
        if whiteSpace and specialChar:
            rs = True
            
    return rs