This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Specifying the characters that cannot be present using PATTERN

 
Abhi Venu
Ranch Hand
Posts: 73
  • 0
  • 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: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No I haven't I will try it now.Thank You
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic