![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| regular expression [^ ] | iengca | Shell Programming and Scripting | 9 | 06-18-2008 09:45 AM |
| Need a regular expression | tony3101 | Shell Programming and Scripting | 4 | 06-05-2008 03:13 AM |
| regular expression and awk | nickg | UNIX for Dummies Questions & Answers | 2 | 08-16-2007 05:23 PM |
| Regular Expression | edog | UNIX for Dummies Questions & Answers | 5 | 12-04-2003 02:58 PM |
| Regular Expression + Aritmetical Expression | Z0mby | Shell Programming and Scripting | 2 | 05-21-2002 10:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
regular expression across some lines
I am trying to use regular expression to identify ONLY the commands that hasn't the word "tablespace" within it. a command starts with "create table" and ends with ; (semicolon)
example file: Code:
create table first tablespace ; create table second ( BBL_CUSTOMER_NAME VARCHAR2(32), a tablespace af ); create table third ( BBL_CUSTOMER_NAME VARCHAR2(32), ); create table forth ( BBL_CUSTOMER_NAME VARCHAR2(32) ); Code:
create table third ( BBL_CUSTOMER_NAME VARCHAR2(32), ); create table forth ( BBL_CUSTOMER_NAME VARCHAR2(32) ); Last edited by ynixon; 05-24-2007 at 11:02 AM.. |
|
||||
|
Quote:
|
![]() |
| Bookmarks |
| Tags |
| regex, regular expressions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|