3 ms·
What do you mean by substitution? Replacing a match with a string/pattern? If so, RegExr does have that tool (at the middle/bottom, tools bar), and it probably
by ask_b123 5y ago
What do you mean by substitution? Replacing a match with a string/pattern?
If so, RegExr does have that tool (at the middle/bottom, tools bar), and it probably is the functionality I most often use.
- Glant 5y agoAh, I see it now. Usually when I do replace/substitution it's in a larger project so it's not a feature I typically use on the site. Most of my Regex101 use is just figuring out why a regex I wrote isn't executing like I expected.
- ask_b123 5y agoI normally use the replace/substitution in situations such as: I have list of, say, 1000+ things/rows in a single column. I want to put them in a single line and separate by comma. It is is pretty easy to go there and substitute \n for ", ". That said, that's also doable in a text editor, but I like that I can visualize the pattern and results more easily.