Regular Expression Phrasing

I'm using Textpad with a pretty large tab delimited file.  There are basically one tab in each line.  I want to replace all text from the tab to the end of line.  I am trying to phrase a regular expression to do this, but it doesn't seem to work.  I am trying the following:

\t*\n

If anyone knows of the correct way to phrase this, I would greatly appreciate it.

Thanks.
LVL 1
philosinfinityAsked:
Who is Participating?
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.

philosinfinityAuthor Commented:
In this case, the answer was as follows:

\t[A-Za-z\@\.]*\n
0
b0lsc0ttIT ManagerCommented:
It seems like you answered this yourself.  If that is the case and you need help closing this then let me know.  If you are interested in an alternative that will handle even more characters then you could've also tried ...

\t.*$

Let me know if you have a question about it.

bol
0

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
philosinfinityAuthor Commented:
Awesome answer.  Thanks for the help.
0
b0lsc0ttIT ManagerCommented:
Your welcome!  I'm glad I could help.  Thanks for the grade, the points and the fun question.

bol
0
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
Regular Expressions

From novice to tech pro — start learning today.