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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:06:37+00:00 2026-06-12T12:06:37+00:00

I have a Hyperlink field (aka column) in SharePoint 2010. Say it’s called SalesReportUrl

  • 0

I have a Hyperlink field (aka column) in SharePoint 2010.

Say it’s called SalesReportUrl. The url looks like:

http://portal.cab.com/SalessiteCollection/October2012Library/Forms/customview.aspx

The hyperlink field stores values in two fields (the link and description).

What would be the RegEx if I want to get the October2012Library out of the Url?

I tried this but it’s definitely not working:

@"<a[\s]+[^>]*?href[\s]?=[\s\"\']+(.*?)[\"\']+.*?>([^<]+|.*?)?<\/a>";

I also tried:

^(.*?/)?Forms/$ 

but no luck.

I think sharepoint stores hyperlink like this:

http://portal.cab.com/SalessiteCollection/October2012Library/Forms/customview.aspx, some description

Looks like this has a solution. but what’s the syntax substring get the list or library name ?https://sharepoint.stackexchange.com/questions/40712/get-list-title-in-sharepoint-designer-workflow

  • 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-12T12:06:38+00:00Added an answer on June 12, 2026 at 12:06 pm

    http://[^/]+/[^/]+/([^/]+)/

    match’s group[1] is the value you need. it gets the 3rd part (divided by /) in the url. if you need make sure it is followed by other parts, i.e. forms, add it at the end.

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

Sidebar

Related Questions

I have a list that uses a Hyperlink column (which contains the URL and
Am trying to add to the navigation url in a hyperlink field. I have
I have a gridview with a template field that has a HyperLink: <asp:TemplateField ItemStyle-Width=12%
I have an issue where in the SPGridView if I add a hyperlink field
I have a gridview control and I would like the field Title to be
I have a MS Access 2007 database where one field is a hyperlink to
I have an Access table that has a hyperlink field, with the records being
I have Crystal reports, and I'd like to modify a field to be a
On my SharePoint 2010 site I have a list of items (Document Library). This
I have a jqgrid that has a hyperlink for the ID field within the

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.