Search found 9 matches

by canis
Thu Dec 23, 2010 4:29 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Remove all from the beginning
Replies: 1
Views: 1880

Remove all from the beginning

I have a lot of code lines with similar structure: <tag>(.... ,"{keyword}", .....)
How to extract {keyword} only?
How to remove (replace with nothing) everything from the beginning of the line until ," and from ", to the end of the line?
by canis
Sun Mar 15, 2009 12:47 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Extract text between tags
Replies: 1
Views: 2113

Extract text between tags

I have a lot of html files with similar structure: ... <td>47:28:...numbers</td> <td>text</td> <td align=right>numbers</td> ... How to extract everything between tags to different files? At this moment I know how to extract numbers between first pair of tags: Input Extract lines matching [<td>47:28]...
by canis
Fri Jan 25, 2008 12:33 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Delete non-word characters
Replies: 6
Views: 7494

All text is in windows-1251.

But is it realy important? I think it is possible to identify cyrillic words isung perl [а-я].

2. This script will be the last in sequence of 3-5 scripts. I use TextPipe with cyrillic often - and I have no to convert text using latin and cyrillic in same lines.
by canis
Thu Jan 24, 2008 11:30 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Delete non-word characters
Replies: 6
Views: 7494

Thanks' it works!!! There is one more question - can I use IF-condition? For example I have a line with latin and cyrillic characters: some text, <cyrillic1> some text <cyrillic2> <cyrillic3> some text <cyrillic4>... If between cyrillic words there are more then X characters I need to place carriage...
by canis
Thu Jan 24, 2008 4:22 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Delete non-word characters
Replies: 6
Views: 7494

It doesn't work :( It removes only first or last non-word character.

For example I have

:: . , TEXT ; . . , .

and I need only

TEXT
by canis
Wed Jan 23, 2008 9:51 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Delete non-word characters
Replies: 6
Views: 7494

Delete non-word characters

Is it possible to delete non-word characters from Start of Line and from End of Line?
Thank You.
by canis
Fri Jan 18, 2008 8:56 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Duplicate lines
Replies: 4
Views: 5404

Thanks, I've just replaced carriage return with "nothing".
by canis
Fri Jan 18, 2008 6:49 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Duplicate lines
Replies: 4
Views: 5404

Excuse me, where is it?

P.S. ok, I've found. But lines have no dots at the and.
by canis
Fri Jan 18, 2008 6:27 pm
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Duplicate lines
Replies: 4
Views: 5404

Duplicate lines

For example I have this text: line1 line2 line3 ... lineN I need it to become: line1=line1 line2=line2 line3=line3 ... lineN=lineN I use this perl pattern: search ^(.*)$ - replace with $ 1=$1 (thanks to support team), but I have this: line1 =line1 line2 =line2 line3 =line3 .... How to join lines by ...