Regex re = Regex("[a]$"); string result = re->replace(test,"");
My result is:
object reg = Regexp.PCRE.Studied("[a]$"); string result = re->replace(test,""); result;
(2) Result: "aaa123aa"
results in: "123b" while I want it to be 'aaa123'.
using "^[a]" results in "123aaa".