This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons 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: 174
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
 
Similar Threads
validate multiple email addresses in a textarea
Excluding urls starting like plus.google.com
Replace text by HTML links
How to find only name of file(s) using regular expression
regular expression in javascript