I have a .ICS document that I opened in Notepad.
When exporting the file, the calendar system watermarked every event description with a sentence. For a placeholder, I'll use:
This is a placeholder sentence with a web url http://example.com/null/.
I need to remove this sentence from a very long text file using only text editors that don't mess with indentation or formatting, because ICS's text format needs to be computer-readable.
Here's my problem. Lines are limited to 75 characters in ICS so the file ended up looking something like this:
DESCRIPTION: .................................. This is a placeholder senten
ce with a web url http://example.com/null/.
DESCRIPTION: .......... This is a placeholder sentence with a web url http:/
/example.com/null/.
DESCRIPTION: ......................................... This is a placeholder
sentence with a web url http://example.com/null/.
The program broke off the sentence if it exceeded 75 characters and added a single-space indent on the next line. This, I assume, is for machine readability.
Problem is, that extra space voids any and all find-and-replace functions that I know how to use. It's random, it breaks up words, and I'm not sure what to do.
I need to use some sort of function or possibly a script that can ignore the linebreak AND indent. Any ideas?
برچسب:
نویسنده: استخدام کار