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 6546493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:42:51+00:00 2026-05-25T11:42:51+00:00

I am looking for regular expression that evaluates below. 0-9 a-Z A-Z – /

  • 0

I am looking for regular expression that evaluates below.

0-9 a-Z A-Z - / '
  • 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-05-25T11:42:52+00:00Added an answer on May 25, 2026 at 11:42 am

    The C# version of this pattern is:

    @"[0-9a-zA-Z/'-]"
    

    Used in code:

    var regex = new Regex(@"[0-9a-zA-Z/'-]");
    

    or

    var regex = new Regex(@"[0-9a-z/'-]", RegexOptions.IgnoreCase);
    

    Note that the - is at the very end of the character class (the part in the brackets). For - to mean a literal hyphen inside a character class, it must be at the beginning or end of the class (i.e. [-blah] or [blah-]), or escaped with a backslash: [ab\-c] will match a, b, c, or -.

    Note also the @ at the beginning of the quoted string. This isn’t important for this pattern, but it’s a good habit to get into with C# regex. Regular expressions often contain backslashes, and the @"..." form will allow you to use backslashes in your pattern without having to escape them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a regular expression that will match all strings EXCEPT those that
I am looking for a regular expression that will test for matches against a
I am looking for a regular expression for c# asp.net 3.5 that will fail
Looking for a regular expression that match the following relative URLs: All urls starts
I'm looking for a regular expression that checks whether a string contains 2 specific
I am looking for help in creating a Regular Expression that validates a URL
What I am looking for is to mimic behavior of C# regular expression (that
I am looking for a regular expression for matching that contains no white space
I am looking for a regular expression that will accept date formats, both MM/DD/YYYY
I'm looking for a regular expression that will match text given the following requirements:

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.