View Single Post
Old 06-12-2015, 10:55 PM   #1
weberr
New old guy
weberr began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Feb 2012
Device: kindle fire
Help - Learning to use Regex Functions

Struggling to understand use of Regex Functions capability -- primarily how to introduce function arguments. Maybe if someone can illustrate with an example, I can take it from there.

For instance:
If I have a set of lines in an epub document such as:
<p>chapter 1</p>
<p>chapter 1</p>
<p>chapter 1</p>
<p>chapter 1</p>

and what I want is:
<p>chapter 1</p>
<p>chapter 2</p>
<p>chapter 3</p>
<p>chapter 4</p>

Using the Increment() Function, what would the Find and Function lines look like?

Thanx for your help.
weberr is offline   Reply With Quote