Skip to content
Panshi
EN / /
← Services

⁂ Regex Generator

Describe in plain words what you need to match and get a correct regex — broken down token by token, with matching and non-matching examples.

See the quality — a real example

Sample only · no credits used

Input — what to match

A valid hex color like #fff or #ffffff, with the leading # required.

Output — pattern & examples

^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$

Matches

  • #fff
  • #1a2B3c

Non-matches

  • fff
  • #12g

Related tools

Token Calculator

Count tokens (o200k / GPT-4o) and compare input/output cost across GPT, Claude, Gemini, DeepSeek & Qwen — runs in your browser.

API Key Leak Scanner

Paste code or config and instantly find hardcoded secrets — OpenAI/AWS/GitHub/Stripe/Google keys, private keys, JWTs. 100% in-browser.

Text to SQL

Turn plain English into correct SQL for Postgres, MySQL, SQLite, BigQuery or Snowflake — schema-aware.

Code Review

Paste a diff or file and get a ranked review — bugs, logic, security, performance — with fixes.