Search found 4 matches

by maxdido
Sat Jan 03, 2015 3:12 pm
Forum: Regular Expressions (Archived)
Topic: grab an id tag and copy paste it somewhere else
Replies: 1
Views: 12931

Re: grab an id tag and copy paste it somewhere else

I found the solution.
In the reg ex line I added:
(<movie>)\r\n
(<title>*.*</title>)\r\n
(<year>*.*</year>)\r\n
(<thumb>*.*</thumb>)\r\n
(<fanart>)\r\n
(<thumb>*.*</thumb>)\r\n
(</fanart>)\r\n
(<playcount>*.*</playcount>)\r\n
(<id>*.*</id>)\r\n
(</movie>)\r\n
http://www.imdb.com/title ...
by maxdido
Sat Jan 03, 2015 2:21 pm
Forum: Regular Expressions (Archived)
Topic: grab an id tag and copy paste it somewhere else
Replies: 1
Views: 12931

grab an id tag and copy paste it somewhere else

I have the following code:
<?xml version="1.0" encoding="UTF-8" ?>
<movie>
<title>Abraham Lincoln: Vampire Hunter</title>
<year>2012</year>
<thumb>nfs://192.168.1.3/volume2/HD2-Movies/fanart/Abraham Lincoln - Vampire Hunter[Cover].jpg</thumb>
<fanart>
<thumb>nfs://192.168.1.3/volume2/HD2 ...
by maxdido
Sun Apr 01, 2012 10:55 am
Forum: TextCrawler
Topic: How to move a line of text to another place in the text file
Replies: 7
Views: 18047

How to move a line of text to another place in the text file

I would like to move "<id>tt1423894</id>" in between the "watched" and "genre" tags
from this:

<movie>
<id>tt1423894</id>
<title>Barney's Version</title>
<plot></plot>
<genre></genre>
<rating></rating>
<year>2010</year>
<outline></outline>
<plot></plot>
<tagline></tagline>
<thumb>file ...
by maxdido
Sun Apr 01, 2012 10:50 am
Forum: TextCrawler
Topic: How to remove empty lines
Replies: 1
Views: 7820

How to remove empty lines

How can I remove several carriage returns or new lines or whitespace (I don't know what it is) that occure before <movie>. see this example:




<movie>
<id>tt1423894</id>
<title>Barney's Version</title>
<plot></plot>
<genre></genre>
<rating></rating>
<year>2010</year>
<outline></outline ...