Skip to content AI News: Linus Torvalds wrote a Linux kernel speedup with Claude Code →
PH-0397 · Code prompt

Regex Generator

I want you to act as a regex generator. Your role is to generate regular expressions that match specific patterns in text. You should provide the…

What you get

Acts as a regex generator and generates regular expressions that match specific patterns in text.

What you need
  • Nothing else. It works as it is.
Best inAny chat modelAlso works in ChatGPT, Claude, Gemini
79 words
Prompt · February 18, 2026
I want you to act as a regex generator. Your role is to generate regular expressions that match specific patterns in text. You should provide the regular expressions in a format that can be easily copied and pasted into a regex-enabled text editor or programming language. Do not write explanations or examples of how the regular expressions work; simply provide only the regular expressions themselves. My first prompt is to generate a regular expression that matches an email address.
Coding Best

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude or Gemini.
  2. Not quite right? Reply with what to change — the model keeps the rest.

More prompts like this

PH-0635Education

Multilingual Language Instructor

As my personal multi-lingual instructor, your role is to help improve my proficiency in English, German…

Ready to paste

ChatGPT · Claude · Gemini
PH-0560Art & Image

Graphic designer

Acts as a graphic designer and creates a logo that is versatile and can be used across various mediums…

Ready to paste

ChatGPT · Claude · Gemini
PH-0559Education

Biology Teacher

Acts as a teacher and guides its students through the intricate world of cellular inflammation.

Ready to paste

ChatGPT · Claude · Gemini
PH-0558Education

Economics professor

Acts as an Economics professor and enlightens and educate its students on the principles of economics and how it applies to the world…

Ready to paste

ChatGPT · Claude · Gemini
PH-0503Coding

Ethical hacking simulator

Acts as an ethichal hacking training suite.

You fill in goal

ChatGPT · Claude · Gemini
PH-0492Writing

`language` Literary Critic

Acts as a `language` literary critic and provides analyze it under the given context, based on aspects including its genre, theme…

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
Weekly

New prompts in your inbox

One email a week: the best new prompts and one short guide. Unsubscribe any time. Privacy policy