This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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


Win a copy of Head First Android this week in the Android forum!
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.
 
 
subject: Change this pattern for not accepting plus.google.com
 
It's not a secret anymore!