Another Grep Question
OLD TEXT:
<p>Section 1: Text text text ...</p>
DESIRED RESULT:
<p>Section 1:</p>
<p>Text text text ...</p>
FIND:
<p>Section \d:
REPLACE:
<p>Section ??:</p>\r\r<p>
RETURNS:
<p>Section ??:</p>
<p>Text text text ...</p>
The red question marks represent a number of unsuccessful tries on my part. I wish the replace to use the found data so my numbers increase appropriately. In some instances they go into double digits (e.g. Section 12: )
Can anyone help? Thanks. - Fabe
|