Good day
How do i find every occurence of a substring that begin with a specefied set of characters and end with another set of characters eg
string str = "src=test.pgn testing sub src=file.pgn find it"
i want to read strings that start with src and end with .pgn in the above example i want the following strings in an array "src=test.pgn" and src=file.pgn
I know regular expressions are used but i cant seem to figure out how its done.
Thank you
How do i find every occurence of a substring that begin with a specefied set of characters and end with another set of characters eg
string str = "src=test.pgn testing sub src=file.pgn find it"
i want to read strings that start with src and end with .pgn in the above example i want the following strings in an array "src=test.pgn" and src=file.pgn
I know regular expressions are used but i cant seem to figure out how its done.
Thank you