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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:50:52+00:00 2026-05-30T09:50:52+00:00

I am writing a discover service that takes a URL and returns the HTML

  • 0

I am writing a discover service that takes a URL and returns the HTML located at that page.

From that page, I need to “scrape” all the WSDL URL’s.

So I need something like the following, but I am not sure how to specify the regex to pass into the pattern matching.

string wsdlPattern = //SOME REGEX THAT MATCHES WSDL http:{address}wsdl
Regex wsdlRegex = new Reges(wsdlPattern);
MatchCollection matches = wsdlRegex.Match(html);

Can somebody please help me figure how I can do 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-05-30T09:50:53+00:00Added an answer on May 30, 2026 at 9:50 am

    Try this:

    http://[^\s]*?.wsdl

    The regular text parts are obvious: it needs to start with http:// and end with .wsdl. [^\s] means “any non-whitespace character”, and *? means “as few as possible” (this is necessary in case you have something like http://www.blah.com/a.wsdl<br>http://www.blah.com/b.wsdl. Without the ?, you’d match that whole thing as one string.)

    This isn’t perfect, but it should get you started.

    If you want to play with regex, this is a great resource:
    http://www.gskinner.com/RegExr

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

Sidebar

Related Questions

Writing htaccess that allows me to remove index.php from the URL can confuse search
Writing documentation in html requires some code examples. What to do with characters that
I'm writing a reflection-based RPC service that gets arguments passed in via a variety
Typically when writing new code you discover that you are missing a #include because
Writing a client application that sends images to a server via a webservice. As
I'm writing an integer-based quadtree structure which builds up from the node, and not
I'm writting a java application, and I need to quickly discover any other running
I'm learning F# and finding I'm writing things that work but which I don't
Im writing application that communicate (via serial port) with electronic device which i designed
I am currently writing an app using XCode that will allow the streaming of

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.