This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes RegEx for valid mysql table name Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "RegEx for valid mysql table name" Watch "RegEx for valid mysql table name" New topic
Author

RegEx for valid mysql table name

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

Hi all,

i'm trying to figure out a regular expression for a mysql table so i can check if the string is a valid mysql table name.
I don't know exactly the valid characters for a mysql table name.

does any one have an Idea ?

thnx
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

You could join in the conversation in another forum where the identical question was asked, and answered, before you posted the question here.

http://forum.java.sun.com/thread.jspa?threadID=707186&tstart=15
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: RegEx for valid mysql table name
 
Similar Threads
Connect to database(mySQL) in a secure way?
CMT
Problem with many-to-many relationships with MySQL
Hibernate: changing case of table name
Insert Query with auto-incrementing key