File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change this pattern for not accepting plus.google.com
 
Similar Threads
Excluding urls starting like plus.google.com
Replace text by HTML links
validate multiple email addresses in a textarea
How to find only name of file(s) using regular expression
regular expression in javascript