all groups > dotnet faqs > february 2005 >
You're in the

dotnet faqs

group:

Search, Replace with Regular Expression


Search, Replace with Regular Expression tushar.n.patel NO[at]SPAM gmail.com
2/8/2005 11:12:09 PM
dotnet faqs:
hi there!!

i'm looking for a code snipett wich help me to search some words into a
particular string and replace with a perticular word. i got a huge data
string in which searching traditional way mean to secrife lots of time
in asp.net. can any one give me such a expression in which i pass a
data string and search word string and replace word string? if so plz
help me out. i'm in badly need.
Re: Search, Replace with Regular Expression Michelle NO[at]SPAM bwalk.com
2/9/2005 2:09:19 PM
Howdy,

Are you using VB .NET? How about this? (I've omitted the optional
parameters):

Replace(myBigString, findWord, replaceWord)
AddThis Social Bookmark Button