Messages - bit [ switch to compact view ]

Pages: prev1 [2] 3 4 5 6 7 ... 114next
6
General Software Discussion / Re: macro to edit a .txt file?
« on: October 01, 2015, 07:37 AM »
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 :
Good gosh, that's exactly the string you had already put in your screen shot, right in front of me.
Amazing; nothing happens as I type in the string character by character until the last entry, then shoom!, it gives you exactly what you want in one big transformation.  :Thmbsup:

7
General Software Discussion / Re: macro to edit a .txt file?
« on: September 30, 2015, 11:49 PM »
WildGem

[ Invalid Attachment ]

Or if you want to do a global search and replace over multiple files there's Find & Replace or PSPad, both free.
Way cool.
How would I tell WG to find numbers 0 thru 9 and colon [:] all in one shot and make them disappear?
I can get it to do one number at a time so far, and it seems to have no file size or page limits.

8
General Software Discussion / Re: macro to edit a .txt file?
« on: September 30, 2015, 03:55 PM »
I got it to convert/process chapter #1, then successfully added #2, #3, & #4, and then it hung when I tried to add #5, with chapter #6 & #7 still to go.
This was with about one page per chapter, so it's pretty short.
SedTester does a great job of removing numbers & characters, esp. with the extra script comments by you and 4x4 on how to remove those other brackets.
If there was some way to increase its capacity, it would be even more useful.

My eyes aren't what they were, and I like to convert digital English language text to number-free format for audio playback with TextAssist, which also displays the text on playback, giving me built-in 'subtitles' to look at in case I didn't hear something spoken clearly enough to recognize it.
I can also play back numbered text, but it's a little tedious sometimes hearing spoken numbers with every line.  :Thmbsup:

9
General Software Discussion / Re: macro to edit a .txt file?
« on: September 30, 2015, 01:50 AM »
I was referring to a Linux or DOS (with sed added) command-line, not to SedTester.

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):

[ Invalid Attachment ]
Success! Wow, that's powerful!
PS - I see you also check-boxed 'Autocheck'; and when I did that, it worked.  :Thmbsup:
PS - For some text, the unwanted numbers look like this:
1:1: (plus desired text)
1:2:
1:3:

With s/[0-9"]//g only, it leaves this:
 : : (plus desired text)
 : :
 : :

If I add : to the script, like this: s/[0-9":]//g
it also removes all the colons [:]

Some text sources list unwanted numbers in [square brackets], and although SedTester still removes the numbers, the square brackets cannot be removed with SedTester.
However, a simple text 'search & replace' for the brackets or colons easily removes them all.

PS - Is there a way to increase the text body size limit to, say, 50 pages of text?
I froze up SedTester with a 13 page text file size.

10
Cool house! I don't feel competent enough to do what you want.
But you could also set up one of these:
Remote Controlled Flying Ghoul Prank Freaks Out Joggers & People In Park
(esp. starting at 1:45)

Full size remote control flying Witch

Skeleton on the motorcycle scares people- Prank Brazilian

Pages: prev1 [2] 3 4 5 6 7 ... 114next
Go to full version