How to: Remove text between AAA...BBB

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

How to: Remove text between AAA...BBB

Postby DataMystic Support » Fri May 13, 2011 11:54 am

Step 1. Add Filters\Replace\Find EasyPattern.

To remove text between AAA...BBB, use EasyPattern:

Code: Select all

AAA[ 1+ chars ]BBB

Replace with nothing.

If you want to keep the AAA and BBB and insert new text, use EasyPattern:

Code: Select all

[ capture( 'AAA' ), capture( 1+ chars ), capture( 'BBB' ) ]

Replace with

Code: Select all

$1$new text$3$


If you want to find text between AAA and BBB and change AAA and BBB while keeping the inside text, use EasyPattern:

Code: Select all

[ capture( 'AAA' ), capture( 1+ chars ), capture( 'BBB' ) ]

Replace with

Code: Select all

newAAA$2$newBBB


See: http://www.datamystic.com/easypatterns_reference.html

If you have ideas for more 'How To's' please drop a note in the forums or send us an email.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

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

Who is online

Users browsing this forum: No registered users and 5 guests