Hello,
I am having difficulties using regexp to find tokens and replace them. Here is the pseudocode I am working with:
(Text File Example)This is a pretend text file. Inside of it are <TokenName> tokens that will get found and replaced with values!
text = fileread(inputFile);
tokenName = '<TokenName'>;
position = regexp(text,tokenName,'names');
It retunrs 0x0 empty cell array. I'd like to find the location of the match, and, ultimately, replace it with a value of my choosing.
Best Answer