• Post Reply Bookmark Topic Watch Topic
  • New Topic

To write a regex  RSS feed

 
Sumedh Bhave
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My requirement is 'Following characters are not allowed for value name: [ $ & + , / : ; =? @ " < > # % { } | \ ~ ^ [ ] ` ] '

Can anyone provide Regex for Java Pattern-Matcher?

Please its Urgent.
Thank you in advance
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://bit.ly/1c3d5RA
 
Pat Farrell
Rancher
Posts: 4686
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a zillion tutorials and reference guides on the Internet.

If you prefer books, I recommend this book, it has all the information you need.
http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/ref=sr_1_1
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16059
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sumedh, welcome to the Ranch.

Please note that you posted this in the "Meaningless Drivel" forum. We have a lot of forums here on the Ranch about different topics, and this forum is meant for non-serious discussion - because everybody sometimes needs to relax after working hard!

However, it looks like you actually want a serious answer to this question, so it doesn't belong in the Meaningless Drivel forum. I'll move it to a more appropriate forum for you - please take care to select the relevant forum next time.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sumedh Bhave wrote:My requirement is 'Following characters are not allowed for value name: [ $ & + , / : ; =? @ " < > # % { } | \ ~ ^ [ ] ` ] '
Can anyone provide Regex for Java Pattern-Matcher?

First: Welcome to JavaRanch, Sumedh.

Next: I'm afraid that's not how things work here. You're supposed to ShowSomeEffort (←click).

What have you tried?

Please its Urgent.

Please EaseUp (←click). Urgency is your problem, not ours; and we're all volunteers here.

Winston
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!