import re

phone_re = re.compile(r'\d{10}$')
name_re=re.compile(r'^[A-Za-z ]*$')
spcl_char_re=re.compile(r"[~\!@#\$%\^&\*\(\)_\+{}\":;'\[\]]")

def validate_name_field(name):
    if name_re.match(name):
        return True
    else:
        return False
    
def validate_phone_number(number):
    if phone_re.match(number):
        return True
    else:
        return False
    
def validate_address(addr):
    if spcl_char_re.match(addr):
        return False    #as spcl characters are not allowed
    else:
        return True        
dc72e48d215c9c692164c86825a56dfc05efb45d
<mask token>


def validate_name_field(name):
    if name_re.match(name):
        return True
    else:
        return False


<mask token>


def validate_address(addr):
    if spcl_char_re.match(addr):
        return False
    else:
        return True

<mask token>


def validate_name_field(name):
    if name_re.match(name):
        return True
    else:
        return False


def validate_phone_number(number):
    if phone_re.match(number):
        return True
    else:
        return False


def validate_address(addr):
    if spcl_char_re.match(addr):
        return False
    else:
        return True

<mask token>
phone_re = re.compile('\\d{10}$')
name_re = re.compile('^[A-Za-z ]*$')
spcl_char_re = re.compile('[~\\!@#\\$%\\^&\\*\\(\\)_\\+{}\\":;\'\\[\\]]')


def validate_name_field(name):
    if name_re.match(name):
        return True
    else:
        return False


def validate_phone_number(number):
    if phone_re.match(number):
        return True
    else:
        return False


def validate_address(addr):
    if spcl_char_re.match(addr):
        return False
    else:
        return True

import re
phone_re = re.compile('\\d{10}$')
name_re = re.compile('^[A-Za-z ]*$')
spcl_char_re = re.compile('[~\\!@#\\$%\\^&\\*\\(\\)_\\+{}\\":;\'\\[\\]]')


def validate_name_field(name):
    if name_re.match(name):
        return True
    else:
        return False


def validate_phone_number(number):
    if phone_re.match(number):
        return True
    else:
        return False


def validate_address(addr):
    if spcl_char_re.match(addr):
        return False
    else:
        return True

import re

phone_re = re.compile(r'\d{10}$')
name_re=re.compile(r'^[A-Za-z ]*$')
spcl_char_re=re.compile(r"[~\!@#\$%\^&\*\(\)_\+{}\":;'\[\]]")

def validate_name_field(name):
    if name_re.match(name):
        return True
    else:
        return False
    
def validate_phone_number(number):
    if phone_re.match(number):
        return True
    else:
        return False
    
def validate_address(addr):
    if spcl_char_re.match(addr):
        return False    #as spcl characters are not allowed
    else:
        return True        