Boy,  I cant figure out why I can't get grep down but I get lost every  
time I try


I have a series of files that I have cleaned with a textfactory and  
have this type of smunge left in almost every line;


53              Yamaha  400     XJR     R               4HM             95-97   
        <a href=ST476V2.html  
target='_blank'>MLV2F476</>     enthalten       MLV1H901                        
<a href=ST476H1.html  
target='_blank'>MLV1R476</>     MLV1H901                


There's a tab on each side of the problem text

<tab><a href=ST107V1.html target='_blank'>MLV1F107</><tab>

<tab><a href=ST461V3.html target='_blank'>MLV3F461</><tab>

I need to eliminate the link code and end up with just the part no. in  
between the tabs that are on each side of the link/part no.

<tab>MLV1F107<tab>

<tab>MLV3F461<tab>

53              Yamaha  400     XJR     R               4HM             95-97   
        MLV2F476        enthalten       MLV1H901                         
MLV1R476        MLV1H901                

etc.

These bits of chaff sometimes (but not always) occur multiple times in  
a line. Some lines might not have any link code and jut the part no.  
(which I need to leave alone).

Although they have the word Schadenfreude I'm starting to think the  
Germans don't have a word for "well formed data export".

Any help/tips/ are appreciated.

M./



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to