Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2013, 03:29 PM   #1
linzerkipferl
Member
linzerkipferl began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2012
Device: Kindle
Equivalent to &

When using the regex-function with Office.org, you can insert the character & in the "Replace"-line, which means that every character found according to the "Search"-order stays the same.

(e.g. if you search for [0-9]+ and replace with (&) then every number in the text will be within brackets)

& does not work with Sigil. Does anybody know if there exists an equivalent order for Sigil?

Thanks in advance!

Last edited by linzerkipferl; 11-29-2013 at 03:32 PM.
linzerkipferl is offline   Reply With Quote
Old 11-29-2013, 04:26 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by linzerkipferl View Post
When using the regex-function with Office.org, you can insert the character & in the "Replace"-line, which means that every character found according to the "Search"-order stays the same.

(e.g. if you search for [0-9]+ and replace with (&) then every number in the text will be within brackets)

& does not work with Sigil. Does anybody know if there exists an equivalent order for Sigil?

Thanks in advance!
Sigil (and Calibre) use PCRE REGEX

search (\d+) = capture any quantity of DIGITS
replace \1
theducks is offline   Reply With Quote
Advert
Reply

Tags
regex sigil


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free/bargain Australian & New Zealand History & other Non-Fiction authors & books Lynx-lynx Deals and Resources (No Self-Promotion or Affiliate Links) 61 04-04-2015 07:58 PM
Free (Amazon/Kindle) Blackstone & Brenwen: The Mirror & The Meretrix steven522 Deals and Resources (No Self-Promotion or Affiliate Links) 1 08-03-2012 02:10 AM
Ended B&N Nook 3g & wifi & 3 cases $140 lisreed Flea Market 0 07-29-2010 04:00 AM
(Problem Resolved) AARGGGGHHHHH!!! Sony #&%@&^#(*%!*#& CS DrMoze Sony Reader 11 09-06-2007 11:17 AM


All times are GMT -4. The time now is 05:21 PM.


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