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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:11:37+00:00 2026-05-30T10:11:37+00:00

Using c#.net 4.0 wondering how to replace a dynamic substring from a long string(url

  • 0

Using c#.net 4.0
wondering how to replace a dynamic substring from a long string(url w/ parameters). Basically i have a row of hyperlinks when clicked should navigate to a url but part of the link should be cut off from it.

display Url

http://10.2.2.13:6060/demo/service/demoportal/thirdpartyaccess.htm?wwpage=http://10.2.2.13:6060/demo/services/gtame/summary.htm&token=e250656e73b3a058d6931d045c85b8e722be892ebec69fa4fa56aa19bbce5f53

navigate the above to below once the above url is clicked

Navigate URL

http://10.2.2.13:6060/demo/service/demoportal/thirdpartyaccess.htm?wwpage=services/gtame/summary.htm&token=e250656e73b3a058d6931d045c85b8e722be892ebec69fa4fa56aa19bbce5f53

Thanks

  • 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-30T10:11:38+00:00Added an answer on May 30, 2026 at 10:11 am
      string s = "http://10.2.2.13:6060/demo/service/demoportal/thirdpartyaccess.htm?wwpage=http://10.2.2.13:6060/demo/services/gtame/summary.htm&token=e250656e73b3a058d6931d045c85b8e722be892ebec69fa4fa56aa19bbce5f53";
      s = Regex.Replace(s, "(.*wwpage\\=).*/(services.*)", "$1$2");
    

    output:

    http://10.2.2.13:6060/demo/service/demoportal/thirdpartyaccess.htm?wwpage=services/gtame/summary.htm&token=e250656e73b3a058d6931d045c85b8e722be892ebec69fa4fa56aa19bbce5f53
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am now using asp.net mvc and wondering what is a better choice using
Just wondering if there are any pitfalls using .net as the extension for a
I'm using Elmah with ASP.NET and wondering how I would add custom data, such
I am using vb.net running a backend MS.Access database and I am wondering what
I'm using ASP.NET 2.0 with a Master Page, and I was wondering if anyone
I am wondering what the best way to send bulk emails is using System.Net.Mail
I am wondering what experiences people are having using the ASP.NET MVC Framework? In
Im just wondering how to go about using FormAuthentication in asp.net In our project
I was wondering if there was a .NET-compatible CLR that was implemented using the
I am wondering what methods people are using for validating check boxes in ASP.NET

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.