Article: How to Remove All Lines Except for the First Line in a Flat File with RegEx - Boomi Community
![Everything you need to know about Regular Expressions | by Slawomir Chodnicki | Towards Data Science Everything you need to know about Regular Expressions | by Slawomir Chodnicki | Towards Data Science](https://miro.medium.com/v2/resize:fit:1400/1*j24J--XlW4peIZCRkL-pdA.png)
Everything you need to know about Regular Expressions | by Slawomir Chodnicki | Towards Data Science
![Everything you need to know about Regular Expressions | by Slawomir Chodnicki | Towards Data Science Everything you need to know about Regular Expressions | by Slawomir Chodnicki | Towards Data Science](https://miro.medium.com/v2/resize:fit:1400/1*UkTZyxLEVU3cbezhae4FNg.png)
Everything you need to know about Regular Expressions | by Slawomir Chodnicki | Towards Data Science
![Regex exclude matches where last two characters of string are combination of - and number - Stack Overflow Regex exclude matches where last two characters of string are combination of - and number - Stack Overflow](https://i.stack.imgur.com/CWdS9.png)
Regex exclude matches where last two characters of string are combination of - and number - Stack Overflow
![regex - How do I match a number not followed by a letter except for a certain substring - Stack Overflow regex - How do I match a number not followed by a letter except for a certain substring - Stack Overflow](https://i.stack.imgur.com/6oBw4.png)