Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > Non-English Discussions > Deutsches Forum > E-Books

Notices

Reply
 
Thread Tools Search this Thread
Old 08-10-2009, 09:16 AM   #46
Momo_Germany
Connoisseur
Momo_Germany began at the beginning.
 
Momo_Germany's Avatar
 
Posts: 88
Karma: 14
Join Date: May 2009
Location: Germany
Device: Kindle3 (great!!) +DX, Sony PRS-505,-700,-600 (dislike!), iPad
Hallo Targor!

Meintest Du vielleicht das Posting Nr. 107 in diesem Thread?

Wie man diese Funktion nennt bzw. wo man solche Hinweise findet, würde mich auch interessieren.

Viele Grüße,
Momo
Momo_Germany is offline   Reply With Quote
Old 08-10-2009, 10:06 AM   #47
Josch91
Reader
Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.Josch91 can teach chickens to fly.
 
Josch91's Avatar
 
Posts: 818
Karma: 3522
Join Date: Apr 2009
Location: Germany
Device: Kindle 4, iPad
Ja, dass scheint der Post zu sein. Man kann mit diesem regulären Ausdruck alle Bindestriche zwischen zwei Wörtern finden wenn sie nicht mit einem Absatz getrennt sind. Nur das Ersetzen funktioniert nicht. sonst würden jeweils die beiden buchstaben die den Bindestrich einschließen auch verschwinden. Oder gibt es da eine Möglichkeit?
Josch91 is offline   Reply With Quote
Old 08-10-2009, 02:02 PM   #48
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by Josch91 View Post
Ja, dass scheint der Post zu sein. Man kann mit diesem regulären Ausdruck alle Bindestriche zwischen zwei Wörtern finden wenn sie nicht mit einem Absatz getrennt sind. Nur das Ersetzen funktioniert nicht. sonst würden jeweils die beiden buchstaben die den Bindestrich einschließen auch verschwinden. Oder gibt es da eine Möglichkeit?
Ich glaube, dass es eine Möglichkeit gibt, bin aber bis jetzt noch nicht auf eine Goldader gestossen. Tipps werden gern entgegengenommen. Sehr schön wäre es beispielsweise, wenn man eine Zahlenfolge durch eine andere ersetzen könnte. Leider geht bei mir RegEx auch nur zum Löschen, nicht zum Ersetzen.
mtravellerh is offline   Reply With Quote
Old 08-10-2009, 03:03 PM   #49
Targor
The cake is a lie
Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.
 
Targor's Avatar
 
Posts: 442
Karma: 354530
Join Date: May 2009
Device: PB 360
Quote:
Originally Posted by Josch91 View Post
Ich hoffe ich konnte Dir helfen.
Indirekt Mir geht es gar nicht um die Bindestriche, mir ging es nur um ein allgemeines Tutorial wie man damit umgeht, werd mich mal mit den nun genannten Begriffen umschauen und den Wiki-Eintrag studieren, es geht mir darum in einem Tag einen Teil herauszulöschen, grobes Beispiel.

Code:
<p class="xxx" style="xxx: xxx; xxx"
Habe ein blödes Beispiel wo es viele solcher Tags mit ganz geringen Abweichungen immer wieder in den einzelnen Argumenten gibt, alles was ich will, ist per RegEx alle diese Beispiele durch ein einfaches <p> zu ersetzen, egal was in den Ausrufezeichen steht, wenn es nur mit Löschen geht, wäre es mir auch Recht, aber wie gesagt, ich sehe mich mal um. Danke euch alle
Targor is offline   Reply With Quote
Old 08-11-2009, 01:53 AM   #50
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by Targor View Post
Indirekt Mir geht es gar nicht um die Bindestriche, mir ging es nur um ein allgemeines Tutorial wie man damit umgeht, werd mich mal mit den nun genannten Begriffen umschauen und den Wiki-Eintrag studieren, es geht mir darum in einem Tag einen Teil herauszulöschen, grobes Beispiel.

Code:
<p class="xxx" style="xxx: xxx; xxx"
Habe ein blödes Beispiel wo es viele solcher Tags mit ganz geringen Abweichungen immer wieder in den einzelnen Argumenten gibt, alles was ich will, ist per RegEx alle diese Beispiele durch ein einfaches <p> zu ersetzen, egal was in den Ausrufezeichen steht, wenn es nur mit Löschen geht, wäre es mir auch Recht, aber wie gesagt, ich sehe mich mal um. Danke euch alle
Ach nö, so was triviales kannst Du natürlich ersetzen. Ich meinte Zahlenreihen oder etwa beliebige Buchstaben usw.
mtravellerh is offline   Reply With Quote
Old 08-11-2009, 02:43 AM   #51
Targor
The cake is a lie
Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.
 
Targor's Avatar
 
Posts: 442
Karma: 354530
Join Date: May 2009
Device: PB 360
Äh, ich glaube wir reden aneinander vorbei, ich rede auch von zahlenreihen und beliebigen Buchstaben, die zwischen diesen Anführungszeichen stehen und das Zeug will ich inkl der Anführungszeichen rauslöschen.
Targor is offline   Reply With Quote
Old 08-11-2009, 02:55 AM   #52
Fellball
Wizard
Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.
 
Fellball's Avatar
 
Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
Quote:
Originally Posted by mtravellerh View Post
Ich glaube, dass es eine Möglichkeit gibt, bin aber bis jetzt noch nicht auf eine Goldader gestossen. Tipps werden gern entgegengenommen. Sehr schön wäre es beispielsweise, wenn man eine Zahlenfolge durch eine andere ersetzen könnte. Leider geht bei mir RegEx auch nur zum Löschen, nicht zum Ersetzen.
Ich benutze Ultraedit. Um Trennstriche zu entfernen ist die RegEx folgende:

Suchenfeld: ^([a-z]^)-^([a-z]^)

Ersetzenfeld: ^1^2

Geht in Notepad++ auch, nur die Syntax ist ein wenig anders.

Um Zahlen gegen andere auszutauschen mußt du dir mehr oder weniger eine Macro basteln

Last edited by Fellball; 08-11-2009 at 03:15 AM.
Fellball is offline   Reply With Quote
Old 08-11-2009, 03:00 AM   #53
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Ja, kein Problem!

Ich hab Dich schon verstanden. Du kannst beliebige Zeichen und Zeichenfolgen im Search suchen und ersetzen lassen. Nur das dynamische Replace ist ein Problem für mich. Wenn es einfach nur ein simpler Tag ist wie bspsw. <p>, ist die Sache einfach. Wenn Du aber ein Kapitel I-X mit Kapitel 1-10 ersetzen willst, wird's kompliziert!

Mit einer Wildcard wie ?+ kannst Du alles innerhalb des Tags erfassen und einfach mit p ersetzen!
mtravellerh is offline   Reply With Quote
Old 08-11-2009, 03:13 AM   #54
Fellball
Wizard
Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.
 
Fellball's Avatar
 
Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
Quote:
Originally Posted by Targor View Post
Indirekt Mir geht es gar nicht um die Bindestriche, mir ging es nur um ein allgemeines Tutorial wie man damit umgeht, werd mich mal mit den nun genannten Begriffen umschauen und den Wiki-Eintrag studieren, es geht mir darum in einem Tag einen Teil herauszulöschen, grobes Beispiel.

Code:
<p class="xxx" style="xxx: xxx; xxx"
Habe ein blödes Beispiel wo es viele solcher Tags mit ganz geringen Abweichungen immer wieder in den einzelnen Argumenten gibt, alles was ich will, ist per RegEx alle diese Beispiele durch ein einfaches <p> zu ersetzen, egal was in den Ausrufezeichen steht, wenn es nur mit Löschen geht, wäre es mir auch Recht, aber wie gesagt, ich sehe mich mal um. Danke euch alle
Es geht mit UE so:

<p class="xx1" style="text-align: xxx; xxx">

suchen: <p ?+>
ersetzen:<p>

edit: Ups... zu langsam... :-)
Fellball is offline   Reply With Quote
Old 08-11-2009, 03:19 AM   #55
Fellball
Wizard
Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.
 
Fellball's Avatar
 
Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
Quote:
Originally Posted by mtravellerh View Post
Wenn Du aber ein Kapitel I-X mit Kapitel 1-10 ersetzen willst, wird's kompliziert!
Da hast du recht.
Aber so ein Problem hatte ich noch nicht. Da muß ich mal drüber nachdenken.
Fellball is offline   Reply With Quote
Old 08-11-2009, 04:22 AM   #56
Targor
The cake is a lie
Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.
 
Targor's Avatar
 
Posts: 442
Karma: 354530
Join Date: May 2009
Device: PB 360
Funktioniert das nur mit UE? Notepad++ und PSPad finden bei <p ?+> nichts, obwohl es von Tags wie diesen wimmelt
Code:
<p class="MsoNormal" style="margin: 10.8pt 28.8pt 0.0001pt 25.2pt; line-height: 113%;">
Regulärer Ausdruck ist aktiviert, nebenbei.
Targor is offline   Reply With Quote
Old 08-11-2009, 04:40 AM   #57
Fellball
Wizard
Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.
 
Fellball's Avatar
 
Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
Quote:
Originally Posted by Targor View Post
Funktioniert das nur mit UE? Notepad++ und PSPad finden bei <p ?+> nichts, obwohl es von Tags wie diesen wimmelt
Code:
<p class="MsoNormal" style="margin: 10.8pt 28.8pt 0.0001pt 25.2pt; line-height: 113%;">
Regulärer Ausdruck ist aktiviert, nebenbei.
Probiers mal mit: <p .+>
Fellball is offline   Reply With Quote
Old 08-11-2009, 05:01 AM   #58
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by Targor View Post
Funktioniert das nur mit UE? Notepad++ und PSPad finden bei <p ?+> nichts, obwohl es von Tags wie diesen wimmelt
Code:
<p class="MsoNormal" style="margin: 10.8pt 28.8pt 0.0001pt 25.2pt; line-height: 113%;">
Regulärer Ausdruck ist aktiviert, nebenbei.
Kuck hier für RegEx in Notepad++.

Da steht auch, dass das ? bei Notepad nicht funktioniert. Sorry, hab ich nicht gewusst.

Edit: Der Punkt . müsste funktionieren, also <p .+>.

Edit+: Sorry Fellball, wir haben's heute wohl im Tandem!

Last edited by mtravellerh; 08-11-2009 at 05:05 AM.
mtravellerh is offline   Reply With Quote
Old 08-11-2009, 05:15 AM   #59
Targor
The cake is a lie
Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.Targor ought to be getting tired of karma fortunes by now.
 
Targor's Avatar
 
Posts: 442
Karma: 354530
Join Date: May 2009
Device: PB 360
Hat funktioniert, danke
Targor is offline   Reply With Quote
Old 08-11-2009, 08:42 AM   #60
Fellball
Wizard
Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.Fellball knows how to set a laser printer to stun.
 
Fellball's Avatar
 
Posts: 1,430
Karma: 95000
Join Date: Dec 2007
Location: Germany, near Bingen/Rhein
Device: K3,K4,PB360,PB360+,PB701-IQ und noch diverse andere Lesegeräte....
Quote:
Originally Posted by mtravellerh View Post
Kuck hier für RegEx in Notepad++.

Da steht auch, dass das ? bei Notepad nicht funktioniert. Sorry, hab ich nicht gewusst.

Edit: Der Punkt . müsste funktionieren, also <p .+>.

Edit+: Sorry Fellball, wir haben's heute wohl im Tandem!
Besser 2 Antworten als keine....
Fellball is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nook Fragen zum Nook und zur Bestellung Ich_ Andere Lesegeräte 3 08-16-2010 11:32 AM
Börsenblatt: Checkliste zur Erstellung von eBooks K-Thom Deutsches Forum 1 06-14-2010 04:46 AM
Einstiger Feedback und Fragen Fendrill PocketBook 12 04-16-2010 03:06 AM
Software zur ePub Erstellung beam Software 7 06-28-2009 04:53 PM
Inhaltsverzeichnis unter Calibre?? - und andere Probleme bei der Ebook-Erstellung Momo_Germany Erste Hilfe 4 05-26-2009 04:38 PM


All times are GMT -4. The time now is 01:29 AM.


MobileRead.com is a privately owned, operated and funded community.