Hi I have created a schema to check for email id. which can validate if the email id is abc@def.com and adbc@def.co.in and abc@def.co.in.pune But i want to validate only ab
You could use a
based on a string and with a regex pattern to validate your e-mail addresses:
Use any e-mail regex you like :-), see some samples on RegexLib.Net.
Then, use that type in your basic XML schema:
Could by checked by online validator: https://www.corefiling.com/opensource/schemaValidate.html