Quote:
Originally Posted by bookman156
What would be a handy addition to this plugin would be the ability to replace a hyphen in date ranges with an en dash, as in for example: 1921-1985.
|
Quote:
Originally Posted by bookman156
This would also be useful to change from hyphen to en dash in page rages: pp 94-96.
|
@bookman156: Since Sigil supports
regular expressions, you could fix both issues with a simple regex search:
4-digit date ranges:
Find:(\d{4})-(\d{4})
Replace:\1–\2
Page numbers:
Find:pp (\d+)-(\d+)
Replace:pp \1–\2
There's also a
Sigil regex thread.