Search found 9 matches

by pheagila
Tue Sep 09, 2008 11:53 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: How do I Extract 2 Seperate Tags/Lines from HTML ??
Replies: 5
Views: 9254

Re: How do I Extract 2 Seperate Tags/Lines from HTML ??


Why don't you replace the word 'Results' with '\r\nResults' to get the new line?
Hi Support,

THe following examples below output incorrectly

Perl pattern [<h1 id="Results">(.*)</h1>|<span id="Data">(.*)</span>] with [\r\n$1$2]
OR
Perl pattern [<h1 id="Results">(.*)</h1>|<span id="Data ...
by pheagila
Mon Sep 08, 2008 11:00 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: How do I Extract 2 Seperate Tags/Lines from HTML ??
Replies: 5
Views: 9254

Re: How do I Extract 2 Seperate Tags/Lines from HTML ??

Naturally after you extract the first line type, there is no text left to match the second type.
You need to combine the patterns like this:
<h1 id="Results">.*</h1>|<span id="Data">.*</span>
thank you Support - that worked perfectly !! :)

1) I assume the | acts as an AND ??
2) Is there any ...
by pheagila
Sun Sep 07, 2008 12:19 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: How do I Extract 2 Seperate Tags/Lines from HTML ??
Replies: 5
Views: 9254

How do I Extract 2 Seperate Tags/Lines from HTML ??

I am trying to extract 2 seperate lines from HTML

If I try with only 1 line it works , BUT if I try both I get 0 byte output

2 lines that require extraction are:

<h1 id="Results">..DATA...</h1>
<span id="Data">..DATA...</span>


Perl pattern [<h1 id="Results">(.*)</h1> <span id="Data ...
by pheagila
Sun Aug 31, 2008 2:08 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: How do I Extract Text Between Two Fields from HTML files?
Replies: 7
Views: 23352

Re: How do I Extract Text Between Two Fields from HTML files?

thanks Support but your Perl pattern filter returns 0 bytes


|--Perl pattern [<!-- Start Results Section -->(.*)<!-- End Results Section -->] with [$1\r\n]
| [ ] Match case
| [ ] Whole words only
| [ ] Case sensitive replace
| [ ] Prompt on replace
| [ ] Skip prompt if identical
| [ ] First only ...
by pheagila
Mon Aug 25, 2008 6:37 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: How do I Extract Text Between Two Fields from HTML files?
Replies: 7
Views: 23352

Re: How do I Extract Text Between Two Fields from HTML files?

What is shown above is just a clipboard export and can't be input directly. Soon we will have an XML export/import facility.

The key is that you are using a restriction and that is not what it is intended for. Please read the help on restrictions.

You just need to use a search/replace filter with ...
by pheagila
Mon Aug 25, 2008 6:30 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Where is the List & Description of all the Pre-Made Filters?
Replies: 3
Views: 4950

Re: Where is the List & Description of all the Pre-Made Filters?

Most filters have basic comments.

This one takes a list of keywords such as 'my keyword list' and generates this:

[my keyword list]
...
"list keyword my"
ie all match types and all word orders for those keywords.
thanks DataMystic Support HOWEVER what would be really good is if:

DataMystic ...
by pheagila
Sat Aug 23, 2008 5:20 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: How do I Extract Text Between Two Fields from HTML files?
Replies: 7
Views: 23352

Re: How do I Extract Text Between Two Fields from HTML files?

I almost always use perl pattern

Filter List
-----------
Filter options
| [ ] Log to file
| [X] Append to logfile
| Log filename: textpipe.log
| Threshold 500
|
|--Input from file(s)
| [ ] Confirm before processing each file
| [ ] Confirm before processing read/only files
| [ ] Delete input files ...
by pheagila
Tue Aug 19, 2008 11:57 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Where is the List & Description of all the Pre-Made Filters?
Replies: 3
Views: 4950

Where is the List & Description of all the Pre-Made Filters?

Hi all,

Where is the List & Description of all the Pre-Made Filters that come with TextPipe Pro ??

i.e. \TextPipe\3rd party\generate google keywords.fll

When you load this filter, there is NO description of:

a) What type of input file is expected?
b) What is the resultant output file contains?
c ...
by pheagila
Mon Aug 18, 2008 9:14 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: How do I Extract Text Between Two Fields from HTML files?
Replies: 7
Views: 23352

How do I Extract Text Between Two Fields from HTML files?

Hi all,

I would like to Extract Text Between Two Fields from many HTML files

i.e all the Text between:

<!-- Start Results Section -->
.... Data .....
<!-- End Results Section -->

I would like all the extracted text combined together and output to abc.txt

Below are my current settings, but it is ...