All Free Tools

Regex to SQL

Convert regex patterns to SQL LIKE/SIMILAR TO expressions and vice versa.

Regex Pattern
SQL Output
-- LIKE pattern (simple)
WHERE column LIKE 'user_[0-9]%@%\_com'

-- SIMILAR TO (PostgreSQL regex-like)
WHERE column SIMILAR TO 'user_\d+@.*.com'

-- Native regex match (PostgreSQL)
WHERE column ~ '^user_\d+@.*\.com$'
WHERE column ~* '^user_\d+@.*\.com$'  -- case-insensitive

Database Access

Give Your AI Agents
Database Access. Securely.

Connect any database. Control permissions. Audit every query. All running locally on your machine.