I have been trying to remove Embedded links from RTF documents using Regex without making anyheadway. I've tried uding (<a href[\s\S]?>[\s\S]?)|(\b(http|https)://.*[^ alt]\b) but that requires access to the RTF source. The text editor I must use does not expose the RTF source code.
Has anyone solved the problem of removing Embedded links and the corresponding text from RTF files? I want to remove the embedded link and text "Wayback Machine", “Page 3:” and "Page 3" from the pasted text below as an example.
Thanks
`