04-20-2016, 02:56 PM | #1 |
Village idiot
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
|
Regex - Jesus wept...
Hi all
So I'm trying to change all Code:
<p class="block_3">SOME TEXT</p> Code:
<h1>SOME TEXT</h1> Code:
<p class="block_3">(\d+)</p> Code:
<h1>/1</h1> |
04-20-2016, 03:10 PM | #2 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
Advert | |
|
04-20-2016, 03:28 PM | #3 |
Village idiot
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
|
Thank you very much, that works!
I looked at this, but apparently I misunderstood: http://web.sigil.googlecode.com/git/...nced_find.html |
04-20-2016, 06:20 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Yeah, that only tells you about the Sigil S&R tool.
It doesn't really teach you anything about regex itself -- that was the next chapter in Sigil's User Guide. Personally, my favorite regex tutorial is at http://www.regular-expressions.info |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Other Fiction Cooper, James Fenimore: The Wept of Wish-Ton-Wish. v1. 20 Jan 2013 | crutledge | Kindle Books | 0 | 01-20-2013 07:06 AM |
Other Fiction Cooper, James Fenimore: The Wept of Wish-Ton-Wish. v1. 20 Jan 2013 | crutledge | ePub Books | 0 | 01-20-2013 07:04 AM |
Other Fiction Cooper, James Fenimore: The Wept of Wish-Ton-Wish. v1. 20 Jan 2013 | crutledge | BBeB/LRF Books | 0 | 01-20-2013 07:03 AM |