📜  在 python\ 中创建 json 文件 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:24.783000             🧑  作者: Mango

代码示例1
def check_splcharacter(test):
    # Make own character set and pass 
    # this as argument in compile method
 
    string_check= re.compile('[@_!#$%^&*()<>?/\|}{~:]')
 
    # Pass the string in search 
    # method of regex object.
 
    if(string_check.search(test) == None):
        print("String does not contain Special Characters.") 
    else: 
        print("String contains Special Characters.")