Build, test, and debug regular expressions
This regex extracts table names from SQL queries by identifying FROM, UPDATE, JOIN, or INTO keywords and capturing everything until it encounters another SQL keyword that typically follows table references. It's useful for database analysis, query parsing, or monitoring tools that need to identify which tables are being accessed in SQL statements.