use regex mode (and lookbehinds, which do NOT capture):
Replace with "l"
This won't catch the illegitimate word "Iegitimate", though.
Hmm,
That should match any "I" that does NOT follow punctuation (even if there is an intervening space).
I'd still eyeball each edit first -- or scan each change using "See what's changed".