I want a regex expression to replace the string which exactly matches it.
For e.g : - var a = '@test @te @world @dimension'
I need to replace '@te' .
Since '@te' exists in @test as well so Replace statement is replacing the @test in my case.
So could anyone please let me know how can this be done.
Just the exact matching string needs to be replaced.
@te\b? ............