Results 1 to 3 of 3
- 06-17-2010, 11:40 AM #1
Member
- Join Date
- Jun 2010
- Posts
- 1
- Rep Power
- 0
- 06-17-2010, 12:18 PM #2
isn't this just
see also: TutorialJava Code:[A-Za-z\%]+
- 06-17-2010, 12:44 PM #3
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
P.S. Use PreparedStatement. I can almost guarantee that you think you need this because you are cobbling together sql statements from string values. Do not do that. Use PreparedStatement.
Edit: Besides "_" is also a valid wildcard in sql, and numbers are, of course, also valid. And the "word" characters are 0-9,a-z,A-Z, and "_", so simply "\\w".
Similar Threads
-
regular expression
By prof.deedee in forum JDBCReplies: 3Last Post: 02-19-2010, 11:15 AM -
regular expression
By QkrspCmptPop in forum Advanced JavaReplies: 8Last Post: 01-20-2010, 03:55 AM -
regular expression
By ras_pari in forum Advanced JavaReplies: 27Last Post: 10-07-2009, 12:25 PM -
regular expression for unicode
By tharhan in forum Advanced JavaReplies: 0Last Post: 04-01-2008, 10:53 PM -
I can't find the right regular expression
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:36 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks