|
-
May 22nd, 2013, 11:56 PM
#1
Thread Starter
Frenzied Member
[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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|