• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

To write a regex

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://bit.ly/1c3d5RA
 
Rancher
Posts: 4804
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Everybody's invited. Except this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic