I want to make a string like this:
This is a <sentence> with several words <demarcated> by <brackets>. New line. Here is a <second> sentence. Glahluahlgghladaljdlhgl<jad>gdhl
Into a vector with these elements:
sentence highlighted brackets second jad
Can somebody kindly walk me through EXACTLY what to do to make this work. Like what regex function precisely will see < and > as delimiters around n substrings that I can push_back into a vector? I promise I’m not doing homework.