Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex replace #1499

Open
szilvasidave opened this issue Feb 6, 2025 · 0 comments
Open

Regex replace #1499

szilvasidave opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement Idea of improvement of existing feature. untriaged

Comments

@szilvasidave
Copy link

What improvement do you think would an existing feature or tool in DevToys?

The Regex tester could be improved by adding a replace functionality

Solution/Idea

Instead of just listing out the matched parts of the original text (list mode), a different mode (replace) could be added that allows the matched parts to be replaced by any text the user provides, then the resulting modified text can be shown.
Example:
Expression: \b\w
Input text: The quick brown fox jumps over the lazy dog
Replace with: <<&b>>
Output text: <>he <>uick <>rown <>ox <>umps <>ver <>he <>azy <>og

Include support for Substitution tokens and escaped characters, such as \n, \t & \u0009.

Comments

No response

@szilvasidave szilvasidave added enhancement Idea of improvement of existing feature. untriaged labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Idea of improvement of existing feature. untriaged
Projects
None yet
Development

No branches or pull requests

1 participant