function my_custom_checkout_field_process() {
global $woocommerce;
// Check if set, if its not set add an error. This one is only requite for companies
if ( ! (preg_match('/^[0-9]{30}$/D', $_POST['billing_phone'] ))){
wc_add_notice( "The Phone should contain only numbers" ,'error' );
}
}