Update: I just tried removing pieces from the regular expression until I got to this one which is working:
Quote:
"To Kill a Mockingbird" By Nelle Harper Lee\d{1,3}</p>\n<p class="calibre3">
|
So maybe the problem is with the white space character, but that wouldn't explain why the second expression wasn't working either, unless it's something I'm not doing right with all the "\s"
UPDATE 3.:
I tried replacing "\s" with ".*" and it worked. Looks like somehow the program had problems detecting the "\s"? Isn't that just white space? I think it's weird because it could match the strings against the regular expression but then after that it wouldn't replace them.
Any ideas? I'm going to see if maybe the thing I supposed was a whitespace was not really a whitespace by checking the file with an hex editor, but still, if it wasn't a white space, why would it match against "\s"?