[RESOLVED] need help with regex
Hi,
I normally use the .Replace function in asp.net , which works fine, but this time I want it to be more strict.
The string I will be looking for will contain A-Z a-z 0-9 $ _
ex.
$EUROPE_FRANCE
$EUROPE_FRANCE_PARIS
...
There is no blank space between the words and it always start with a $ sign.
So my main issue with the .Replace function is , if I search for '$EUROPE_FRANCE' it will detect this twice '$EUROPE_FRANCE' and '$EUROPE_FRANCE_PARIS' . I have no clue about the regex syntax, but i read it's possible, so I was wondering if there is way to specify for regex to only search for exact match? Or even there is another function in asp.net that will allow me to do this.
Thank You