General questions about using TextPad
Moderators: AmigoJack , bbadmin , helios , Bob Hansen , MudGuard
frbcoindude
Posts: 9 Joined: Fri Mar 14, 2003 9:10 pm
Location: Chicago
Post
by frbcoindude » Thu Mar 20, 2003 7:47 pm
When I purchased 4.5, I used to have a pretty decent HTML stripper that was in my macro program. Did the upgrade to the 4.62 and now it is gone because I had to remove the old 4.5 version to make 4.62 work okay.
Anyone know where I can get that macro again? Or did I just miss it here in the download library?
Bob
jeffy
Posts: 323 Joined: Mon Mar 03, 2003 9:04 am
Location: Philadelphia
Post
by jeffy » Thu Mar 20, 2003 8:32 pm
What about a simple regular expression search, where you search for
and replace it with "" (nothing)?
As long as you are sure that every
displaying "<" and ">" is written as "&" and "&", what about "HTML stripping" is more complicated than this?
jeffy
Posts: 323 Joined: Mon Mar 03, 2003 9:04 am
Location: Philadelphia
Post
by jeffy » Thu Mar 20, 2003 8:34 pm
jeffy wrote: As long as you are sure that every displaying "<" and ">" is written as "&" and "&"...
That's [AMPERSAND]lt; and [AMPERSAND]gt;
Guest
Post
by Guest » Thu Mar 20, 2003 11:01 pm
jeffy wrote: What about a simple regular expression search, where you search for
and replace it with "" (nothing)?
As long as you are sure that every
displaying "<" and ">" is written as "&" and "&", what about "HTML stripping" is more complicated than this?
A regular expression? If you say so.... Maybe that Discrete Mathematics course next quarter WILL make a difference
Guest
Post
by Guest » Thu Mar 20, 2003 11:12 pm
Anonymous wrote: A regular expression? If you say so.... Maybe that Discrete Mathematics course next quarter WILL make a difference
Just check "Regular Expression" in the "Replace" dialog.
And then, check out my FAQ on TextPad regular expressions, at the url below.
jeffy
Posts: 323 Joined: Mon Mar 03, 2003 9:04 am
Location: Philadelphia
Post
by jeffy » Thu Mar 20, 2003 11:15 pm
Anonymous wrote: And then, check out my FAQ on TextPad regular expressions, at the url below.
Hmmm... The forum logged me out, so my signature (and therefore "the url below") didn't print. Here it is...
frbcoindude
Posts: 9 Joined: Fri Mar 14, 2003 9:10 pm
Location: Chicago
Post
by frbcoindude » Tue Mar 25, 2003 7:31 pm
Well, what I was looking for was under the
Configure | Preference | Macros
section. Actually, there are 2, but I had to highlight one and add it and now it is there.