• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Specifying the characters that cannot be present using PATTERN

 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can use pattern to specify some of the allowable characters for a field . How can i use the same pattern to specify the characters that are not allowed in a field.can any give a small example. <xs:pattern value="([^a-zA-Z0-9-()\\ /.<_])*"/> will this restrict the usage of these characters in a field
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhi Venu wrote:<xs:pattern value="([^a-zA-Z0-9-()\\ /.<_])*"/> will this restrict the usage of these characters in a field


Did you try it?
 
Abhi Venu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I haven't I will try it now.Thank You
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic