[guispeak] Re: Using text pal with regular expressions

  • From: "Darrell Shandrow" <nu7i@xxxxxxxxxxxxx>
  • To: <guispeak@xxxxxxxxxxxxx>
  • Date: Thu, 7 Sep 2006 19:44:49 -0700

Hi Jamal,

I couldn't find this in TextPal, but is there a way to get a character and/or word count?

Thanks.

Darrell Shandrow - Shandrow Communications!
Technology consultant/instructor, network/systems administrator!
A+, CSSA, Network+!
Information should be accessible to us without need of translation by another person.
Blind Access Journal blog and podcast: http://www.blindaccessjournal.com
Sign the ProTools accessibility petition at http://protoolspetition.org today!
----- Original Message ----- From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: <guispeak@xxxxxxxxxxxxx>
Sent: Thursday, September 07, 2006 7:24 PM
Subject: [guispeak] Re: Using text pal with regular expressions



I tried to do what you want with TextPal and discovered a problem with
how replacement substitutions were being handled with regular
expressions.  I've fixed the problem and posted an updated TextPal at
http://www.EmpowermentZone.com/palsetup.exe
(It may be installed over a prior version.)

For the search string, use
(\d+)\n

For the replacement string, use
\1

There is a single space at the end of the replacement string.

Hope this helps,
Jamal
On
Thu, 7 Sep 2006, Donald L. Roberts wrote:

Date: Thu, 7 Sep 2006 13:29:32 -0700
From: Donald L. Roberts <donald_roberts_99@xxxxxxxxx>
Reply-To: guispeak@xxxxxxxxxxxxx
To: guispeak@xxxxxxxxxxxxx
Subject: [guispeak]  Using text pal with regular expressions



Hello,

In looking through the docs for Text Pal, I cannot seem to find
the appropriate symbols for regular expressions.  I hope to
locate the syntax for accomplishing the following:

In this text document, I want to locate all occurrences of a crlf
pair preceeded immediately by one or more digits.  I now wish to
replace all such occurrences with the same digits followed by
ascii 32.

I  subsequently located backslash p to represent the crlf pair
and backslash d to represent any digit.  However, please could
you supply the syntax necessary to accomplish the above task.

Thank you.

Cordially,

Don Roberts


** To leave the list, click on the immediately-following link:- ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** guispeak-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** guispeak-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** guispeak-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** guispeak-request@xxxxxxxxxxxxx with the Subject:- faq


** To leave the list, click on the immediately-following link:- ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** guispeak-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:guispeak-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** guispeak-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: