I am cleaning a variable with the names of various individuals, and sometimes names contain two periods in a row when they should only contain one. The name "rivera, william c.." is an example of this. I want to clean this string to "rivera, william c." but the command
returns "..........". Is there some escape sequence I am unaware of?
Code:
disp ustrregexra("rivera, william c..", "..", ".")
Comment