View Single Post
Old 10-12-2012, 07:43 AM   #1
Junior Member
Lamen began at the beginning.
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: iPad
Search-and-Replace with a found number

I tried to replace a situation in my text which need to get converted to MOBI:
(any number at the end of the line following a <br>) need to get replaced with (the found number WITHOUT the <br> at the end of the line).

I used the following search term:
((?P<zahl>[0-9])+ <br>)
and the following replacement text:

Unfortunately it doesn't work as expected. As a result, always the last number of the whole string of numberstring (ie 1995 only the 5) will be found in the converted text at the end.

Im unsure where I made the mistake. Are somebody able to enlighten me here?

Thanks a lot!
Lamen is offline   Reply With Quote