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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:06:25+00:00 2026-05-27T16:06:25+00:00

I hired a coder to code me something in Regex. The issue was that

  • 0

I hired a coder to code me something in Regex. The issue was that he coded it in Visual Basic and I need it in C#.

I tried using a converter but it didnt fix the issue.

Mind helping me convert the following Regex to C#? The issues are with GetBetween and Strings Thanks:

string iamtwit = ss("http://www.mailinator.com" + GetBetween(GetBetween(iamtwit1, matches.ToString(), "</a>"), "<a href=", ">"));

and

MessageBox.Show(GetBetween(matches1.ToString(), "<a href=\"", Strings.Chr(34)));

Here is the original code:

Dim iamtwit As String = ss("http://www.mailinator.com" & GetBetween(GetBetween(iamtwit1, matches.ToString, "</a>"), "<a href=", ">"))


MsgBox(GetBetween(matches1.ToString, "<a href=""", Chr(34)))

The error messages I am getting are:

The name ‘GetBetween’ does not exist in the current context

The name ‘Strings’ does not exist in the current context

  • 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-27T16:06:26+00:00Added an answer on May 27, 2026 at 4:06 pm
    private string getBetween(string strSource, string strStart, string strEnd)
            {
                int Start, End;
                if (strSource.Contains(Starting) && strSource.Contains(Ending))
                {
                    Start = strSource.IndexOf(Starting, 0) + strStart.Length;
                    End = strSource.IndexOf(strEnd, Start);
                    return strSource.Substring(Start, End - Start);
                }
                else
                {
                    return "";
                }
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is geared towards a group of newly hired developers that need to
basic problem: i need to create real customized templates for my django forms. That's
i hired a designer who knows flash but not flex, is there a way
A DBA that my company hired to troubleshoot deadlock issues just told me that
I have a hird-party dll that need to be installed alongside with my app.
I have started developing a webpage and recently hired someone to write code to
I have some PHP source code that I'm hosting with hosting company XYZ. I'm
Looking for some code to upload a photo to facebook using the Graph API
I have a Ruby on Rails app that I built myself, but which needs
I tried to hide a couple of element so that the end users can

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.