![]() |
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 |
| Running same script multiple times concurrently... | ckhowe | Shell Programming and Scripting | 4 | 12-12-2007 06:39 PM |
| Crons executed multiple times. | shorty | UNIX for Dummies Questions & Answers | 2 | 03-14-2007 12:05 PM |
| Trying to read data multiple times | coachr | Shell Programming and Scripting | 1 | 12-14-2006 08:19 PM |
| Trying to read data multiple times | coachr | Shell Programming and Scripting | 0 | 12-06-2006 02:11 PM |
| Prevent file from being mailed multiple times from a job | Sree_2503 | Shell Programming and Scripting | 2 | 11-14-2006 12:47 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
matching multiple times in same line
Hi,
I am stuck with pattern matching. I need to match a particular pattern several times in a same line and replace them. for ex., I need to convert (abc XY) (bvf ZY) bla bla to XY ZY bla bla I tried.. s/\([a-z]+ (.[A-Z]+)\)/$1/gi and it works (abc XY) ZY bla bla Can someone help me? Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|