
Regex extraction
Get a regex explained piece by piece, tested on sample text, in both Python and JavaScript.
Prompt
Write a regex that extracts all phone numbers and order IDs (10-character codes starting with DD) from a customer support chat log. Explain each part, run it on a few samples that should and shouldn't match, and give both Python and JavaScript versions.
- Source
- Ofox
How to use
- 1
Tap “Make one like this”
Ofox Chat opens with this request already written. Sign in first if you haven’t.
- 2
Make it yours
Edit the highlighted parts of the prompt to swap in your own details.
- 3
Send and create
Send it and Ofox Chat writes and runs the code, then you can preview or download the result. Keep chatting to change it.
FAQ
What do I get?
A web page you can open right away. Ofox Chat writes the code and runs it in a sandbox; you can preview the result in the chat and download the code files.
Do I need to know how to code?
No. Describe what you want in plain words and upload any files it should work on — Ofox Chat writes and runs the code.
Can I edit the prompt?
Yes. The prompt goes into the Ofox Chat input box — swap in your own topic, add requirements or drop what you don’t need before sending.
Can I copy and use the prompt directly?
Yes. Tap “Copy” on the prompt card to get the plain text — it works in other AI coding tools too.
More like this
More Dev tools prompts
Repo health checkCode · Dev tools
Write & optimize SQLCode · Dev tools
Write unit testsCode · Dev tools
Product landing pageCode · Web pages
Fashion brand storeCode · Web pages
Food gift shopCode · Web pages
Digital goods marketplaceCode · Web pages
Subscription box siteCode · Web pages
SaaS pricing & checkoutCode · Web pages
Web mini gameCode · Game
Have an idea of your own? Start creating
Describe the image you want in one sentence, and Ofox Chat creates it from scratch.