<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rama Pandu Cheti</title>
    <description>The latest articles on DEV Community by Rama Pandu Cheti (@rama_panducheti_26b87b58).</description>
    <link>https://dev.to/rama_panducheti_26b87b58</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3604417%2Ff366a4e6-6067-41a4-bef8-634ef87afb9c.png</url>
      <title>DEV Community: Rama Pandu Cheti</title>
      <link>https://dev.to/rama_panducheti_26b87b58</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rama_panducheti_26b87b58"/>
    <language>en</language>
    <item>
      <title>How I Use AI To Write Regex Without Memorizing Anything</title>
      <dc:creator>Rama Pandu Cheti</dc:creator>
      <pubDate>Sun, 23 Nov 2025 05:00:55 +0000</pubDate>
      <link>https://dev.to/rama_panducheti_26b87b58/how-i-use-ai-to-write-regex-without-memorizing-anything-579d</link>
      <guid>https://dev.to/rama_panducheti_26b87b58/how-i-use-ai-to-write-regex-without-memorizing-anything-579d</guid>
      <description>&lt;p&gt;Regular expressions are powerful… but let’s be honest — they’re a nightmare to remember.&lt;/p&gt;

&lt;p&gt;Every time I need a regex, I end up doing one of these:&lt;/p&gt;

&lt;p&gt;Googling: "regex for email validation"&lt;/p&gt;

&lt;p&gt;Copy-pasting from StackOverflow&lt;/p&gt;

&lt;p&gt;Re-testing it 10 times until it works&lt;/p&gt;

&lt;p&gt;Still not understanding what it actually does&lt;/p&gt;

&lt;p&gt;After years of frustration, I finally decided to fix this problem for myself.&lt;/p&gt;

&lt;p&gt;So I built a simple AI-powered tool that converts plain English into a working regular expression — instantly.&lt;/p&gt;

&lt;p&gt;No memorization. No RegEx cheat sheets. No headaches.&lt;/p&gt;

&lt;p&gt;🧠 The Problem: Regex is Unnecessarily Hard&lt;/p&gt;

&lt;p&gt;Regex is:&lt;/p&gt;

&lt;p&gt;Cryptic (^\d{10}$)&lt;/p&gt;

&lt;p&gt;Hard to debug&lt;/p&gt;

&lt;p&gt;Easy to mess up&lt;/p&gt;

&lt;p&gt;Difficult to read later&lt;/p&gt;

&lt;p&gt;But 95% of the time, developers only need patterns for:&lt;/p&gt;

&lt;p&gt;Email validation&lt;/p&gt;

&lt;p&gt;Phone numbers&lt;/p&gt;

&lt;p&gt;Dates&lt;/p&gt;

&lt;p&gt;Password rules&lt;/p&gt;

&lt;p&gt;IP addresses&lt;/p&gt;

&lt;p&gt;URLs&lt;/p&gt;

&lt;p&gt;So why are we still memorizing symbols instead of describing what we want?&lt;/p&gt;

&lt;p&gt;✅ The Solution: Plain English → Regex&lt;/p&gt;

&lt;p&gt;Now, instead of writing this:&lt;/p&gt;

&lt;p&gt;^+?[1-9][0-9]{7,14}$&lt;/p&gt;

&lt;p&gt;I just type:&lt;/p&gt;

&lt;p&gt;"regex for valid Indian mobile number"&lt;/p&gt;

&lt;p&gt;And the tool gives me:&lt;/p&gt;

&lt;p&gt;✅ The regex&lt;br&gt;
✅ An explanation&lt;br&gt;
✅ Example matches&lt;/p&gt;

&lt;p&gt;You can try it here (free, no signup):&lt;br&gt;
👉 &lt;a href="https://dev-brains-ai.com/regex-generator" rel="noopener noreferrer"&gt;https://dev-brains-ai.com/regex-generator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🧪 Real Examples&lt;/p&gt;

&lt;p&gt;Here are real inputs that work beautifully:&lt;/p&gt;

&lt;p&gt;Plain English Input What I Get&lt;br&gt;
regex for email validation  Full email regex&lt;br&gt;
match date in DD-MM-YYYY    Date pattern&lt;br&gt;
exactly 4 digits    PIN code pattern&lt;br&gt;
IPv4 address format IP regex&lt;br&gt;
strong password with symbol Password validator&lt;/p&gt;

&lt;p&gt;Instead of memorizing patterns, I just describe my requirement naturally.&lt;/p&gt;

&lt;p&gt;💡 Why This Saves Me Time&lt;/p&gt;

&lt;p&gt;This small change saves me:&lt;/p&gt;

&lt;p&gt;✅ 10–15 mins of Googling every time&lt;br&gt;
✅ Countless StackOverflow visits&lt;br&gt;
✅ Trial and error testing&lt;br&gt;
✅ Mental energy&lt;/p&gt;

&lt;p&gt;It also helps juniors &amp;amp; non-regex developers on my team.&lt;/p&gt;

&lt;p&gt;🔐 Privacy First&lt;/p&gt;

&lt;p&gt;Everything runs in the browser.&lt;br&gt;
No prompts are stored.&lt;br&gt;
No signup required.&lt;/p&gt;

&lt;p&gt;You can use it as often as you need.&lt;/p&gt;

&lt;p&gt;Try it here:&lt;br&gt;
👉 &lt;a href="https://dev-brains-ai.com/regex-generator" rel="noopener noreferrer"&gt;https://dev-brains-ai.com/regex-generator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🚀 What’s Next?&lt;/p&gt;

&lt;p&gt;I’m building more AI-powered dev tools like:&lt;/p&gt;

&lt;p&gt;SQL Generator&lt;/p&gt;

&lt;p&gt;Error Message Explainer&lt;/p&gt;

&lt;p&gt;JSON Formatter&lt;/p&gt;

&lt;p&gt;Schema Generator&lt;/p&gt;

&lt;p&gt;You can explore all of them here:&lt;br&gt;
👉 &lt;a href="https://dev-brains-ai.com" rel="noopener noreferrer"&gt;https://dev-brains-ai.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🙋 I’d Love Your Feedback&lt;/p&gt;

&lt;p&gt;If you use regex often, I’d love to know:&lt;/p&gt;

&lt;p&gt;What’s the most annoying regex you’ve had to write recently?&lt;/p&gt;

&lt;p&gt;Drop it in the comments and I’ll test it in the tool for you 👇&lt;/p&gt;

</description>
      <category>regex</category>
      <category>ai</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How I built a free AI Regex Generator using Hugging Face + Next.js (no API costs)</title>
      <dc:creator>Rama Pandu Cheti</dc:creator>
      <pubDate>Mon, 10 Nov 2025 17:18:16 +0000</pubDate>
      <link>https://dev.to/rama_panducheti_26b87b58/how-i-built-a-free-ai-regex-generator-using-hugging-face-nextjs-no-api-costs-12ic</link>
      <guid>https://dev.to/rama_panducheti_26b87b58/how-i-built-a-free-ai-regex-generator-using-hugging-face-nextjs-no-api-costs-12ic</guid>
      <description>&lt;p&gt;🚀 Intro&lt;/p&gt;

&lt;p&gt;For years, I’ve hated writing regex 😅 — every time I needed to validate an email or extract a substring, I ended up Googling and testing patterns endlessly.&lt;/p&gt;

&lt;p&gt;So, I built Dev Brains AI&lt;br&gt;
 — a free collection of small AI tools that help developers generate regex and SQL queries instantly using open models from Hugging Face.&lt;/p&gt;

&lt;p&gt;No API keys. No OpenAI costs. Just fast, simple AI utilities.&lt;/p&gt;

&lt;p&gt;🧩 The Tech Stack&lt;/p&gt;

&lt;p&gt;Here’s the exact stack behind the project:&lt;/p&gt;

&lt;p&gt;Layer   Tech&lt;br&gt;
Frontend    Next.js 14, Tailwind CSS&lt;br&gt;
Backend Serverless API routes&lt;br&gt;
AI inference    Hugging Face open models (google/flan-t5-small)&lt;br&gt;
Deployment  Vercel&lt;br&gt;
Auth/DB None — fully static&lt;br&gt;
Monetization    Google AdSense (planned)&lt;br&gt;
🧠 How the AI works (Hugging Face API)&lt;/p&gt;

&lt;p&gt;Instead of using GPT or paid APIs, I wanted to make this fully free.&lt;/p&gt;

&lt;p&gt;Here’s how the inference request works:&lt;/p&gt;

&lt;p&gt;import { HfInference } from "@huggingface/inference";&lt;/p&gt;

&lt;p&gt;const client = new HfInference(process.env.HF_TOKEN);&lt;/p&gt;

&lt;p&gt;export async function generateRegex(prompt) {&lt;br&gt;
  const result = await client.textGeneration({&lt;br&gt;
    model: "google/flan-t5-small",&lt;br&gt;
    inputs: &lt;code&gt;Generate a regex for: ${prompt}&lt;/code&gt;,&lt;br&gt;
    parameters: { max_new_tokens: 60 },&lt;br&gt;
  });&lt;/p&gt;

&lt;p&gt;return result.generated_text;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;This simple call hits the Hugging Face inference router, returning a lightweight model output — perfect for quick tasks like regex or SQL generation.&lt;/p&gt;

&lt;p&gt;⚙️ The Next.js API route&lt;/p&gt;

&lt;p&gt;Each AI call runs through a serverless API endpoint to hide the API key:&lt;/p&gt;

&lt;p&gt;// pages/api/regex.js&lt;br&gt;
import { HfInference } from "@huggingface/inference";&lt;/p&gt;

&lt;p&gt;const client = new HfInference(process.env.HF_TOKEN);&lt;/p&gt;

&lt;p&gt;export default async function handler(req, res) {&lt;br&gt;
  const { prompt } = JSON.parse(req.body);&lt;/p&gt;

&lt;p&gt;try {&lt;br&gt;
    const output = await client.textGeneration({&lt;br&gt;
      model: "google/flan-t5-small",&lt;br&gt;
      inputs: &lt;code&gt;Generate a regex for: ${prompt}&lt;/code&gt;,&lt;br&gt;
      parameters: { max_new_tokens: 60 },&lt;br&gt;
    });&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;res.status(200).json({ result: output.generated_text });
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;} catch (err) {&lt;br&gt;
    res.status(500).json({ error: err.message });&lt;br&gt;
  }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Simple, secure, and free to deploy.&lt;/p&gt;

&lt;p&gt;🎨 The UI&lt;/p&gt;

&lt;p&gt;I used Tailwind CSS for fast prototyping and clean visuals.&lt;/p&gt;


&lt;h2&gt;AI Regex Generator&lt;/h2&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Generate Regex
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Minimal, responsive, and instantly loads on mobile too.&lt;/p&gt;

&lt;p&gt;⚡ Deployment&lt;/p&gt;

&lt;p&gt;The whole site runs on Vercel’s free plan.&lt;br&gt;
Build command:&lt;/p&gt;

&lt;p&gt;npm run build&lt;/p&gt;

&lt;p&gt;Output directory:&lt;/p&gt;

&lt;p&gt;.next&lt;/p&gt;

&lt;p&gt;Once connected to GitHub, every push automatically redeploys.&lt;br&gt;
Vercel also handles HTTPS + caching automatically.&lt;/p&gt;

&lt;p&gt;💡 Lessons learned&lt;/p&gt;

&lt;p&gt;Small models are surprisingly good for structured tasks like regex or SQL.&lt;/p&gt;

&lt;p&gt;SSR is your friend — pre-render content for faster Google indexing.&lt;/p&gt;

&lt;p&gt;No API cost = real scalability for free projects.&lt;/p&gt;

&lt;p&gt;Focus on value-first UI — users love tools that “just work.”&lt;/p&gt;

&lt;p&gt;🔮 What’s next&lt;/p&gt;

&lt;p&gt;I’m adding:&lt;/p&gt;

&lt;p&gt;JSON formatter + beautifier with AI explanations&lt;/p&gt;

&lt;p&gt;Code comment generator&lt;/p&gt;

&lt;p&gt;AI-based log analyzer&lt;/p&gt;

&lt;p&gt;👉 You can try it here: &lt;a href="https://dev-brains-ai.com" rel="noopener noreferrer"&gt;https://dev-brains-ai.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;❤️ If you’d like to build similar tools&lt;/p&gt;

&lt;p&gt;If you’re interested, I can publish a tutorial repo showing:&lt;/p&gt;

&lt;p&gt;Full Next.js setup&lt;/p&gt;

&lt;p&gt;Hugging Face integration&lt;/p&gt;

&lt;p&gt;SEO + AdSense-ready deployment on Vercel&lt;/p&gt;

&lt;p&gt;Let me know in the comments 👇&lt;/p&gt;

&lt;p&gt;TL;DR:&lt;br&gt;
Built an AI Regex Generator using free Hugging Face models + Next.js&lt;br&gt;
→ Runs fast, costs $0/month, and is deployed on Vercel.&lt;br&gt;
👉 Try it live&lt;/p&gt;

</description>
      <category>ai</category>
      <category>nextjs</category>
      <category>sql</category>
      <category>regex</category>
    </item>
    <item>
      <title>I built a free AI Regex &amp; SQL Generator to save developers time (no login, open models)</title>
      <dc:creator>Rama Pandu Cheti</dc:creator>
      <pubDate>Mon, 10 Nov 2025 17:15:28 +0000</pubDate>
      <link>https://dev.to/rama_panducheti_26b87b58/i-built-a-free-ai-regex-sql-generator-to-save-developers-time-no-login-open-models-3mdh</link>
      <guid>https://dev.to/rama_panducheti_26b87b58/i-built-a-free-ai-regex-sql-generator-to-save-developers-time-no-login-open-models-3mdh</guid>
      <description>&lt;p&gt;🚀 Why I built this&lt;/p&gt;

&lt;p&gt;Like most developers, I’ve spent way too much time searching for that one regex pattern that works.&lt;br&gt;
And writing SQL queries from scratch every time can get repetitive too.&lt;/p&gt;

&lt;p&gt;So, I decided to create a simple, AI-powered developer tool that can do both — instantly.&lt;/p&gt;

&lt;p&gt;👉 Dev Brains AI&lt;/p&gt;

&lt;p&gt;It’s a collection of free AI tools that help developers save time on everyday coding tasks.&lt;/p&gt;

&lt;p&gt;🧩 Current tools on the site&lt;br&gt;
🔹 AI Regex Generator&lt;/p&gt;

&lt;p&gt;Describe what you want — and it writes the regex (with explanation).&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;“match a valid email address”&lt;/p&gt;

&lt;p&gt;“extract numbers from a string”&lt;/p&gt;

&lt;p&gt;“check if string starts with ‘abc’”&lt;/p&gt;

&lt;p&gt;Result → regex + human-readable explanation.&lt;/p&gt;

&lt;p&gt;Try it here:&lt;br&gt;
➡️ &lt;a href="https://dev-brains-ai.com/regex-generator" rel="noopener noreferrer"&gt;https://dev-brains-ai.com/regex-generator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔹 AI SQL Query Generator&lt;/p&gt;

&lt;p&gt;Write your query in plain English, and it outputs real SQL instantly.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;“Select top 5 users by revenue”&lt;/p&gt;

&lt;p&gt;“Find all orders from last 30 days”&lt;/p&gt;

&lt;p&gt;It supports MySQL, PostgreSQL, and SQLite-like syntax.&lt;/p&gt;

&lt;p&gt;Try it here:&lt;br&gt;
➡️ &lt;a href="https://dev-brains-ai.com/sql-generator" rel="noopener noreferrer"&gt;https://dev-brains-ai.com/sql-generator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🧠 How it works&lt;/p&gt;

&lt;p&gt;I used:&lt;/p&gt;

&lt;p&gt;Next.js + TailwindCSS for the UI&lt;/p&gt;

&lt;p&gt;Open-source AI models from Hugging Face (no paid API keys)&lt;/p&gt;

&lt;p&gt;Node.js serverless functions for generation&lt;/p&gt;

&lt;p&gt;Deployed on Vercel (super fast and free)&lt;/p&gt;

&lt;p&gt;Each request uses a small, open model that runs under 2 seconds, so you get results instantly.&lt;/p&gt;

&lt;p&gt;💡 What’s next&lt;/p&gt;

&lt;p&gt;I’m working on adding:&lt;/p&gt;

&lt;p&gt;🧾 JSON formatter with AI explanations&lt;/p&gt;

&lt;p&gt;🪄 Code comment generator&lt;/p&gt;

&lt;p&gt;⚙️ Log pattern detector for DevOps users&lt;/p&gt;

&lt;p&gt;If you have ideas for more tools, I’d love to hear them in the comments.&lt;/p&gt;

&lt;p&gt;⚡ TL;DR&lt;/p&gt;

&lt;p&gt;Free AI-powered Regex &amp;amp; SQL Generators&lt;/p&gt;

&lt;p&gt;No signups, no limits&lt;/p&gt;

&lt;p&gt;Uses open models (not OpenAI API)&lt;/p&gt;

&lt;p&gt;Fast and ad-supported&lt;/p&gt;

&lt;p&gt;🔗 Try it out — Dev Brains AI&lt;/p&gt;

&lt;p&gt;❤️ Feedback welcome&lt;/p&gt;

&lt;p&gt;If you test it, I’d really appreciate your feedback on:&lt;/p&gt;

&lt;p&gt;Accuracy of regex/SQL outputs&lt;/p&gt;

&lt;p&gt;UI/UX experience&lt;/p&gt;

&lt;p&gt;What AI tools you’d find most useful next&lt;/p&gt;

&lt;p&gt;📬 Want to build similar tools?&lt;/p&gt;

&lt;p&gt;If anyone’s curious about the tech stack or Hugging Face integration, I can share a tutorial on setting up AI inference endpoints in a free-tier Next.js app.&lt;/p&gt;

&lt;p&gt;That’s it — hope you find it useful!&lt;/p&gt;

&lt;p&gt;Happy coding 💻&lt;br&gt;
— Rama (dev-brains-ai.com)&lt;/p&gt;

</description>
      <category>ai</category>
      <category>sql</category>
      <category>regex</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
