[TOOL IMPROVEMENT] Removal of prefixes/suffixes in lists
Sometimes you receive a list like this one:
- [email protected]
- [email protected]
- [email protected]
No computer in this world will accept these as arguments to commands with the extraneous "- " in them. Of course, you can run a find/replace in any text editor to replace "- " with nothing, but what if the list looks like this?
[email protected]
[email protected]
[email protected]
Now you're off to regex-land to try and remove the dash at the beginning without affecting the rest of the line.
It would be nice if the list converter could be given a prefix and suffix that it would remove from the beginning/end of each line.
Hi @Steltek, @CorentinTh (and @steffenrapp, if you want to review), implemented in #1302
Hi @Steltek , implemented: https://sharevb-it-tools.vercel.app/list-converter
And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)