It also lets you switch between regex implementations in different languages.
Re:RegExr: Learn, Build and Test Regex
by ask_b123 on Thursday January 27, 2022 @02:42PM
(#30105292)
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.
Ah, 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.
Re:RegExr: Learn, Build and Test Regex
by ask_b123 on Thursday February 10, 2022 @01:28PM
(#30290413)
I 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.
https://regex101.com/