Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8262495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:46:39+00:00 2026-06-08T03:46:39+00:00

I am new in asp becouse I usaly use aspx I use function that

  • 0

I am new in asp becouse I usaly use aspx

I use function that should loop through all chars of string and delete all chars that are not numbers or alphabet chars. The line

If sChar Like "[0-9A-Za-z]" Then

return error: Sub or Function not defined

MM_folder_vpisan = "fdvddvsd.-,čšž"

For lCtr = 1 To Len(MM_folder_vpisan)
     sChar = Mid(MM_folder_vpisan, lCtr, 1)
     If sChar Like "[0-9A-Za-z]" Then
         sAns = sAns & sChar
     End If    
Next
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:46:40+00:00Added an answer on June 8, 2026 at 3:46 am

    Here is what I believe is an improved version of this code :

    Set objRegExp = New RegExp
    objRegExp.Pattern = "[^0-9A-Z]" 'we'll ignorecase so no need for a-z
    objRegExp.IgnoreCase = True
    objRegExp.Global = True
    sAns = objRegExp.replace(MM_folder_vpisan, "") ' replace all that is not 0-9 or A-Z
    Set objRegExp = nothing
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am implementing a new ASP.NET MVC 3 application that will use a form
I'm planning a new ASP.NET project that will become a product that is installed
I am researching a new ASP.Net project that we would like to host in
We've just brought up a new ASP.NET page that is showing a strange error.
I am new to ASP. I want to make an ASP page that would
I am brand new to asp, so I think the answer to this should
I'm working on a small library for for ASP.NET MVC 3 that should offer
I am fairly new in asp.net development, so you can say that I have
We are starting a new ASP.NET MVC application and want to use an jQuery
I am using the ASP.NET GeneratedImage control (http://weblogs.asp.net/craigshoemaker/archive/2008/08/19/new-asp-net-generated-image-control.aspx) The image handler seems to receive

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.