Remove character "|" at the end of each line in Notepad++

I have a notepad++ file like this.|NULL|NULL|NULL||NULL|NULL|NULL|

I'm trying to remove the | symbol at the end of the line. I would want my file in this way.|NULL|NULL|NULL|NULL|NULL|NULL

I have a file with 20,000 records. Can someone please help me with the solution?
Em kayAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NorieAnalyst Assistant Commented:
Is this a text file or an Excel workbook?
Em kayAuthor Commented:
it is a text file.
Christopher RourkeProduct Manager @ Experts ExchangeCommented:
Notepad++ offers a special highlighting feature, if you hold down "Alt" you can highlight only from the line position up & down.

notepad alt highlighting
Or you could use a find and replace:

find and replace
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Em kayAuthor Commented:
Thank you Chris.
Christopher RourkeProduct Manager @ Experts ExchangeCommented:
Happy to help Em Kay :)
Christopher RourkeProduct Manager @ Experts ExchangeCommented:
And if my comment answered your question please be sure to select it as the solution to close the question. That way others can easily find this solution too.
Bill PrewIT / Software Engineering ConsultantCommented:
You can use a regular expression to just remove trailing vertical bars from the end of lines as below.  Note that we search for \|$.  The $ is the regular expression indicator for end of line.  And we have to 'escape' the | since it is a special character in the regex syntax, so to represent a | we have to use \|.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Em kayAuthor Commented:
Thank you all for the solutions.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.