![]() |
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 to match repeated characters | jambesh | Shell Programming and Scripting | 4 | 08-22-2009 12:51 AM |
| Regular expression match | ChaMeN | Shell Programming and Scripting | 2 | 03-24-2009 03:44 PM |
| Regular Expression - match 'b' that follows 'a' and is at the end of a string | machinogodzilla | UNIX for Dummies Questions & Answers | 2 | 01-04-2009 04:14 PM |
| Exact match with regular expression | jdhahbi | UNIX for Dummies Questions & Answers | 2 | 09-06-2008 12:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
regular expression to match repeated appearance
Hi all,
I am looking for a regex syntax to match repeated appearance. Likes, Code:
'[[:alnum]]+[[:alnum:]]+' matches for string '65A SOME MORE AND 78B' Thanks in advance. ---------- Post updated at 07:56 PM ---------- Previous update was at 07:43 PM ---------- Basically, I am looking at extracting all alpha numeric from the string. Doesn't matter how many times it appears in the string. |
|
||||
|
Contents of test.file
Code:
68A some text here 89B some other text here. new line here, 12A on second line 34B some lines may have 12B and 56F and 67C and so on 23 |
![]() |
| Bookmarks |
| Tags |
| regex, regexp, regular expressions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|