Develop a regex program to perform character and word replacements on large strings to fix errors. ? The regex operations consist of:
1) Replacement of several extended unicode characters. ?
For example, replace 'latin small ligature ff' with 2 'f' chars
- see? <[login to view URL]>
[][1]2) Loop through a list of known word errors and corrections, perform regex replacements, while preserving any capitalization.
For example, find 'instrucXons' where 'X' is 1 or 2 characters (including a space) and replace with 'instructions'
In addition, implement nHunSpell to perform a spell check on each string, saving all misspelled words to a simple text file.
A next project will require sentence and word parsing (that ignores sentence termination and other chars). ? Please be qualified for this next project as well.