Is it possible to delete multiple rows based on the following?
My original file is about 50,000 lines and each of the scenarios below could have hundreds of rows each.
1) If the first digit of the four digit number is a 1, 2, 3, 4, 5, or 9
2) If the 7 digit number is 6141 432
3)If the range of 7 digit numbers run from 7381 150 through 7381 179
For example:
Before
Column A Column B
1001 431
2004 180
6007 223
6141 432
7008 111
7299 199
7381 150
7381 180
9001 999
After
Column A Column B
6007 223
7008 111
7299 199
7381 180
My original file is about 50,000 lines and each of the scenarios below could have hundreds of rows each.
1) If the first digit of the four digit number is a 1, 2, 3, 4, 5, or 9
2) If the 7 digit number is 6141 432
3)If the range of 7 digit numbers run from 7381 150 through 7381 179
For example:
Before
Column A Column B
1001 431
2004 180
6007 223
6141 432
7008 111
7299 199
7381 150
7381 180
9001 999
After
Column A Column B
6007 223
7008 111
7299 199
7381 180