Search, Replace with Regular Expression

Discussion in 'ASP .Net' started by tushar.n.patel@gmail.com, Feb 9, 2005.

  1. Guest

    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.
     
    , Feb 9, 2005
    #1
    1. Advertising

  2. Guest

    Howdy,

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

    Replace(myBigString, findWord, replaceWord)
     
    , Feb 9, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VSK
    Replies:
    2
    Views:
    2,382
  2. lucky
    Replies:
    0
    Views:
    350
    lucky
    Feb 9, 2005
  3. J. VerSchave

    regular expression search replace

    J. VerSchave, Feb 28, 2004, in forum: Java
    Replies:
    2
    Views:
    426
    Alan Moore
    Feb 29, 2004
  4. Jimmy
    Replies:
    25
    Views:
    805
    Jeff Higgins
    May 26, 2010
  5. Jimmy
    Replies:
    13
    Views:
    456
    Arne Vajhøj
    Jul 25, 2012
Loading...

Share This Page