1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Remove Non Alpha Numeric Characters From String Classic ASP

Discussion in 'C#' started by webdevuk, Mar 16, 2011.

  1. #1
    Set regEx = New RegExp
    regEx.Global = True
    sourcestring = seourl
    regEx.Pattern = "[\W_]"
    replacementstring = "-"
    seourl = regEx.Replace(sourcestring,replacementstring)
    Last edited: Mar 16, 2011
    webdevuk, Mar 16, 2011 IP