J
John Smith
I would like to find two strings in a paragraph and insert
parentheses "()" between them if there isn't a "(" or ")" already
in between. These two strings are not words but partial words.
Examples:
string1= univ string2=cal
university california => university () california
universe (no) califlower => do nothing, already has (
university Washington => no match, do nothing
How can this be done?
parentheses "()" between them if there isn't a "(" or ")" already
in between. These two strings are not words but partial words.
Examples:
string1= univ string2=cal
university california => university () california
universe (no) califlower => do nothing, already has (
university Washington => no match, do nothing
How can this be done?