Select Multiple Lines up to HTML Tag

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Joe Scuderi

Select Multiple Lines up to HTML Tag

Post by Joe Scuderi »

1. How do I select and delete in every single open document whatever appears before a certain HTML tag? (In this case <font size=+3>)

In other words there's a lot of different junk, but all files have this tag and I want to destroy everything before "<font size=+3>" in every file.

2. How do I paste a new block of text at the beginning of every open file?

I'm new to regular expressions. Trying to learn.

THANKS!!
Joe Scuderi

RE: Select Multiple Lines up to HTML Tag

Post by Joe Scuderi »

I found a way to do this using a Macro. Just record, control Home, F5 to search for text (make sure Extend selection is on), then ctrl shift Home (I think) to select the entire doc. Turn off macro and run it!
Roy Beatty

RE: Select Multiple Lines up to HTML Tag

Post by Roy Beatty »

> 2. How do I paste a new block of text at the beginning of every open file?

The following thread offers a relevant discussion of this problem:
http://www.textpad.com/forum/read.php?f=1&i=323&t=323

Roy
Post Reply