DevToys-app / DevToys-app/DevToys

Get possible values based on regex input

Open
#696 1 comment 0 reactions 0 assignees View on GitHub
ai feature need more info under consideration
Dominant language
C#
Stars
32k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

### What's the Problem?

I need to get values matching a regex. They can be very complicated, and I would like to get some test values to run against a regex.

### Solution/Idea

If I have a regex like this `^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$` I would like to get a list of values that match this (or just one value matching it)

### Alternatives

I tried various tools like https://onlinestringtools.com/generate-string-from-regex and for at least the regex above they give me some gibberish...

### Priorities

| Capability | Priority |
| :---------- | :------- |
| Generate test data from a given regex | Must |

### DevToys Version

Version 1.0.10.0 | X64 | RELEASE | b949a18 | b949a18

### Comments

Nothing I can think of...

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are mentioned. Start by locating the regex-related tool or feature in the DevToys codebase, then review how inputs and generated values are handled. Done means generating at least one readable value that matches the supplied regex, including the example pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.