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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:54:35+00:00 2026-06-15T17:54:35+00:00

I am trying to find out a URL which belongs to : http://domain.blob.core.windows.net/ https://domain.blob.core.windows.net/

  • 0

I am trying to find out a URL which belongs to :

http://domain.blob.core.windows.net/ 
https://domain.blob.core.windows.net/

http://domain.blob.core.windows.net
https://domain.blob.core.windows.net

The regex which I wrote

Regex reg2= new Regex(@"^http(s?)://[0-9a-zA-Z](.blob.core.windows.net)(/?)$");
string url = "http://abc.blob.core.windows.net";
        if(reg2.IsMatch(url))
        {
            Console.WriteLine("Yes");
        }
        else
        {
            Console.WriteLine("no");
        }

I am not able to find the match. It’s not working 🙁 I am pretty weak in regex. So can anyone help me to find out my mistake? I am using c#. It always prints no.

UPDATE : FINAL Answer which worked for me:

Regex reg2 = new Regex(@"^http(s?)\:\/\/[0-9a-zA-Z]*(\.blob\.core\.windows\.net)
(/?)$");

Just in case anybody needs something like this 🙂

  • 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-15T17:54:37+00:00Added an answer on June 15, 2026 at 5:54 pm

    You were close with "^http(s?)://[0-9a-zA-Z](.blob.core.windows.net)(/?)$" however [0-9a-zA-Z] should be [0-9a-zA-Z]+ as you want to be multiple characters before .blob.core.windows.net not just a single character.

    Note: you don’t need brackets here if you not capturing parts of the match, the optional operator is applied to the previous character only so ^https?$ matches 'http' or 'https' and not '' as only the s is optional, Also escape all . characters as in regex the . characters matches any single character so to match a literal . you want \..

    "^https?://[0-9a-zA-Z]+\.blob\.core\.windows\.net/?$"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to find out how to read/write notations like this: jQuery.getJSON( url [,
I am trying to find out if an instance of an application (not vb.net)
I am trying to find out which edges from a graph are bidirectional. Each
I'm trying to filter out a bunch of urls to find their base url,
Trying to find out if it's possible to use SQLAlchemy on Heroku. Thanks.
I trying to find out the visibility of the Excel and do some activities
I am trying to find out how to write an SQL statement that will
i m trying to find out how to convert timestamp date and time (
I am trying to find out a way to set a time tag to
I'm trying to find out how to change the icon of a JStree node

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.