Don said:
Many thanks for the link Jay.
Reading what I read, doesn't seem to help.
What I desire to do in the example below is replace
"(NET-24-23-0-0-1)" with delete. (Parenthenses and all.
Most of the queries that I've attempted just take out all text on the
page.
The following removed as desired however ran all the output text
togther in a single line.
Then tried >(*)<
Here's a single line example of the many lines that are contained on
the page I'm tinkering (one of many pages).
Joe's Fish House SACRAMENTO-13 (NET-24-23-0-0-1)
24.23.0.0 - 24.23.63.255
The end result I desire would be:
Joe's Fish House SACRAMENTO-13 24.23.0.0 - 24.23.63.255
Any thoughts? (BTW these are ARIN IP ranges).
Thanks in advance.
Hi Don,
I thought this was more obvious in Graham's article, but now that I reread
it I see that it's sort of hidden: If you want to use any of the "special
meaning" characters in a wildcard search, you have to precede it with a
backslash. This is mentioned in the article in the right-hand column of the
row that discusses square brackets.
Because parentheses are "special meaning" characters, the search expression
needs to have a backslash before each parenthesis like this:
\(*\)
I can't tell from your example whether there's a paragraph mark or a manual
line break at the end of the first line. If there is, you'll have to include
the corresponding character code in the search expression (^13 for a
paragraph mark or ^11 for a line break). Then it would be something like
this:
\(*\)^13
or
\(*\)^11
Sometimes you may find that a search with an asterisk finds too much text --
for example, if the closing parenthesis is missing from one instance, the
expression above will grab everything up to the next closing parenthesis,
which would be in a different paragraph. To avoid this, you could use an
expression that says "everything that's between parentheses but does not
include a paragraph mark/line break":
\([!^13]\)^13
or
\([!^11]\)^11