Delete from search pattern to end of line?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Posts: 1
Joined: Thu Jun 16, 2005 4:53 am

Delete from search pattern to end of line?

Postby BrightonRobin » Thu Jun 16, 2005 5:02 am


I've searched through these forums and read through the help, and I'm sure I'm missing something obvious.

For a web log, for each line, I want to find an occurrence of a text pattern, ".html", and then delete everything else from there to the end of line.

Sorry if it's a basic question. I'd really appreciate some advice.

Thanks again,


User avatar
DataMystic Support
Site Admin
Posts: 2140
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Postby DataMystic Support » Thu Jun 16, 2005 9:58 am


Just search for the perl pattern


and Replace with nothing.

Ensure the options [...] setting is set to minimal match.

Simon Carter, - Insulin dose calculator for Type 1 diabetes - 250,000 free software downloads - send huge email attachments


Postby Guest » Thu Jun 16, 2005 12:31 pm

Hey that worked a treat!


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest