How do i remove anything before a word in a text passage. For example,
What Petraeus said is this: "The [Israeli-Arab] conflict foments anti-American sentiment, due to a perception of U.S. favoritism for Israel. Arab anger over the Palestinian question limits the strength and depth of U.S. partnerships with governments and peoples ? and weakens the legitimacy of moderate regimes in the Arab world. Meanwhile, al-Qaida and other militant groups exploit that anger to mobilize support. The conflict also gives Iran influence in the Arab world through its clients, Lebanese Hizballah and Hamas."
|--Perl pattern [^(.*)("The)] with [$2]
| [ ] Match case
| [ ] Whole words only
| [ ] Case sensitive replace
| [X] Prompt on replace
| [ ] Skip prompt if identical
| [ ] First only
| [ ] Extract matches
| Maximum text buffer size 4096
| [ ] Maximum match (greedy)
| [ ] Allow comments
| [X] '.' matches newline
| [ ] UTF-8 Support
Can i know why the replacement is $2 instead of $1? If additional to removing the text infront, i want to remove everything after the text "to mobilize support.", what is the correct syntax and replacement that should be used?
I did but i cant seem to search for symbols in the chm file. Sorry, i'm still trying to get used to it. I've been looking to manipulate data like texts, to remove before and after. Also to add strings if its not present. For example, if i want to add "Report Checked" to the end of the file if it does not exist, is it feasible? Thanks.