File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Need Regular Expression
Joined: Sep 04, 2008
Sep 17, 2009 09:21:20
In my code i have a
Now in this string i need to print a warning message, if contains
any character other than (A-Z,a-z,0-9,_)
I tried to do with contains([A-Za-z0-9_])and
But could not get through.
Where am i doing mistake. Can you please point it out..
Joined: Oct 27, 2005
Sep 17, 2009 09:29:12
Check the API of
. It clearly specifies how to create an "Any character except" character class.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Need Regular Expression
Problem using Pattern n Matcher (REGEX)
Problem using Pattern and Matcher (REGEX)
how to string search ?
Check if a String has alphabets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015