Build, test, and debug regular expressions
This regex extracts table names from SQL SELECT queries by matching identifiers that immediately follow the keywords FROM, JOIN, or OJ. It handles optional backticks around the table names and can capture multiple comma-separated tables. This pattern is highly useful for SQL parsing, database analysis, and building query optimization tools.