Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by dgacmu on Tuesday December 20, 2022 @07:11PM
(#34074862)
If you can use dig output, the next time you need to do something like this you might find 'jc' helpful: https://github.com/kellyjonbrazil/jc
Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by jen729w on Wednesday December 21, 2022 @05:11AM
(#34078768)
Government laptop. No can use anything that isn’t whitelisted.
This is the beauty of Excel. It’s a powerful text manipulation tool that everyone has.
Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by melagonster on Tuesday December 20, 2022 @07:58PM
(#34075305)
where can I input regex to excel? I really need that, last time I copied table to nopad++ then copy paste it back.
Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by jen729w on Wednesday December 21, 2022 @05:06AM
(#34078732)
I didn’t. I pasted the output and munged it with Excel’s trusty text functions.
Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by melagonster on Sunday January 01, 2023 @08:30PM
(#34213168)
so in this time, Excel isn't so good...
Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by jodrellblank on Tuesday December 20, 2022 @08:51PM
(#34075710)
> "No IDE with regex capabilities available."
If it's Windows there should be PowerShell ISE installed.
Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by jen729w on Wednesday December 21, 2022 @05:08AM
(#34078738)
I know I should learn it but, I dunno, I just really dislike the PowerShell syntax. I get what they were going for with the Verb-Noun thing but it just reminds me of AppleScript and I can’t stand it.
Re:Ask HN: Programs that saved you 100 hours? (2022 edition)
by jodrellblank on Wednesday December 21, 2022 @06:02AM
(#34079090)
You don't have to learn or use PowerShell to paste something into the ISE editor and go to 'Edit -> Replace in Script' and do a regex search/replace.
Excel to the rescue! Took me about five minutes to extract exactly what I needed.