Link to home
Start Free TrialLog in
Avatar of dblameuser
dblameuser

asked on

I have a large text file, I need to trim every line that begins with a certain string down to 72 characters.

I have been playing with regex but havent had any luck.  Any ideas?
Avatar of kaufmed
kaufmed
Flag of United States of America image

What language or text editor are you using to accomplish this? Also, how long is the "certain string"?
Avatar of dblameuser
dblameuser

ASKER

I am using notepad ++, the string is only 5 characters long.
So every line that begins with <213> I need to trim to 72 characters.
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That did the trick!  Thank you!