B
Bill
Hi I have some repetitive output which looks like this:
DROP TABLE "CMF" CASCADE CONSTRAINTS;
CREATE TABLE "CMF" ("DUNS_NUMBER" VARCHAR2(4000) ,
"CUSTOMER_NAME" VARCHAR2(4000) ,
"DNB_TRADE_STYLE" VARCHAR2(4000) ,
What I need is two classes of search within a line, and then to
colorize accordingly using (I presume) book marks, or if this can be
done on a character-by-character basis from a given depth within the
line, so much the better.
First search: Find the first open parenthesis and double-quote
combination on a line which contains the words "CREATE TABLE", and
colorize as RED everything from thereafter, up to the very next double-
quote.
Second Search: If the line does not contain "CREATE TABLE", colorize
everything between the first and second double-coutes.
DROP TABLE "CMF" CASCADE CONSTRAINTS;
CREATE TABLE "CMF" ("DUNS_NUMBER" VARCHAR2(4000) ,
"CUSTOMER_NAME" VARCHAR2(4000) ,
"DNB_TRADE_STYLE" VARCHAR2(4000) ,
What I need is two classes of search within a line, and then to
colorize accordingly using (I presume) book marks, or if this can be
done on a character-by-character basis from a given depth within the
line, so much the better.
First search: Find the first open parenthesis and double-quote
combination on a line which contains the words "CREATE TABLE", and
colorize as RED everything from thereafter, up to the very next double-
quote.
Second Search: If the line does not contain "CREATE TABLE", colorize
everything between the first and second double-coutes.