diff --git a/py/webnotes/model/db_schema.py b/py/webnotes/model/db_schema.py
index eb9f73f36f..71f40b4751 100644
--- a/py/webnotes/model/db_schema.py
+++ b/py/webnotes/model/db_schema.py
@@ -387,7 +387,7 @@ class DbManager:
def validate_column_name(n):
n = n.replace(' ','_').strip().lower()
import re
- if not re.match("[a-zA-Z_][a-zA-Z0-9_]*$", n):
+ if re.search("[\W]", n):
webnotes.msgprint('err:%s is not a valid fieldname.
A valid name must contain letters / numbers / spaces.
Tip: You can change the Label after the fieldname has been set' % n)
raise Exception
return n