This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Change this pattern for not accepting plus.google.com Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Change this pattern for not accepting plus.google.com" Watch "Change this pattern for not accepting plus.google.com" New topic
Author

Change this pattern for not accepting plus.google.com

Jacob Sonia
Ranch Hand

Joined: Jun 28, 2009
Posts: 179
I have this pattern in my xml.
^http://[\w-]+\.google\.(co|com)\.[\w-]+($|/.*)

This accepts all google.com, but i want to exclude accepting plus.google.com.

Please help.
 
Have you checked out Aspose?
 
subject: Change this pattern for not accepting plus.google.com
 
It's not a secret anymore!