I could sure use a simple program snack or 'macro' that allows me to delete numbers 0 thru 9, and the quote marks, in a .txt file, with just a few clicks. 


"Virtualisierte Medien"
"Virtualisierte Medien" sind bei der Verwendung der Hyper-V-Virtualisierung ein wichtiger
Computern. Vieles der Hyper-V-Technologie ist zwar in Windows 8 neu, aber virtualisierte
Hyper-V unter Windows Server 2012
Bei Hyper-V unter Windows 8 und unter Windows Server 2012 handelt es sich im Prinzip um
Computern. Virtuelle Computer lassen sich leicht von Windows Server 2012 auf Windows 8
Virtualisierte Medien
Virtualisierte Medien sind bei der Verwendung der Hyper-V-Virtualisierung ein wichtiger
Computern. Vieles der Hyper-V-Technologie ist zwar in Windows neu, aber virtualisierte
Hyper-V unter Windows Server
Bei Hyper-V unter Windows und unter Windows Server handelt es sich im Prinzip um
Computern. Virtuelle Computer lassen sich leicht von Windows Server auf Windows
PowerShell Out-File Help excerpt:
-Encoding <String>
Specifies the type of character encoding used in the file. Valid values are "Unicode", "UTF7", "UTF8",
"UTF32", "ASCII", "BigEndianUnicode", "Default", and "OEM". "Unicode" is the default.
"Default" uses the encoding of the system's current ANSI code page.
sed -r -e 's/[0-9"]//g' input-file >output-fileOr optionally add the -i parameter and remove the '>output-file' part to do a destructive, in-place, replacement in multiple input-files but not keeping the original file(s).Well, I didn't say sed was easyI clicked on 'Select', and copy & paste highlighted string into top window of SedTester, then pasted sample text in which each line is consecutively numbered into first large window.
You'd get the desired result by using this command-line:Code: (text)Or optionally add the -i parameter and remove the '>output-file' part to do a destructive, in-place, replacement in multiple input-files but not keeping the original file(s).sed -r -e 's/[0-9"]//g' input-file >output-file
I was referring to a Linux or DOS (with sed added) command-line, not to SedTester.Success! Wow, that's powerful!
In SedTester you'd have to only paste the quoted part in the SED expression field: s/[0-9"]//g
and check the -r checkbox
Like this (I pasted the Input text from AbteriX' post):
[attachment 1 not found]


Some text sources list unwanted numbers in [square brackets], and although SedTester still removes the numbers, the square brackets cannot be removed with SedTester.
You also need to escape the quote (\") to have them removed.Yeah, I didn't look close enough during testing, sorry.
PS - Is there a way to increase the text body size limit to, say, 50 pages of text?Well, I didn't test it witth that kind of sizes, as it is intended as a tool for testing and 'explaining' sed expressions.
I froze up SedTester with a 13 page text file size.

WildGemWay cool.
[attachment 1 not found]
Or if you want to do a global search and replace over multiple files there's Find & Replace or PSPad, both free.
How would I tell WG to find numbers 0 thru 9 and colon [:] all in one shot and make them disappear?
Good gosh, that's exactly the string you had already put in your screen shot, right in front of me.How would I tell WG to find numbers 0 thru 9 and colon [:] all in one shot and make them disappear?
([\[\]\d":]) - match [, ], digits, ", or :

Original address: https://www.donationcoder.com/forum/index.php?topic=41669.0