I had a regular expression that returned 2 variables. Here is what I wanted:
However Lync interprets “$1555” as a variable instead of what I want which is just $1 as the variable. So how do I tell regular expression that it should stop at the first 1 and not continue until the next delimiter ($2)?
Use curly braces
Re-writing it in this format got me the desired result:
The fourth paragraph on this website is what got me the answer – http://www.regular-expressions.info/replacebackref.html