Reputation:
I have a csv file with many lines.
I want to get lines with a ;F;
or a ;A;
but not with ;REPORTING;
.
- 123456;;;;;75;;;;A;18;-83;-7;19;;
- 654321;52;;;;;;;;F;8;-3;7;489;;
- 123456;;;;;;573;;;;1858;-88963;-746;1549;;
- 123456;;523;;;REPORTING;fd3574;;;A;183001;-86583;-457;19211;;
I want to get line 1 and 2 but not line 3 and 4...
I tried :
;(?!REPORTING);.*;(F|A);
but no success...
Any idea ?
Upvotes: 1
Views: 109