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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:06:36+00:00 2026-05-12T05:06:36+00:00

I must admit it’s been a few years since my RegEx class and since

  • 0

I must admit it’s been a few years since my RegEx class and since then, I have done little with them. So I turn to the brain power of SO. . .

I have an Excel spreadsheet (2007) with some data. I want to search one of the columns for a pattern (here’s the RegEx part). When I find a match I want to copy a portion of the found match to another column in the same row.

A sample of the source data is included below. Each line represents a cell in the source.

I’m looking for a regex that matches “abms feature = XXX” where XXX is a varibale length word – no spaces in it and I think all alpha characters. Once I find a match, I want to toss out the “abms feature = ” portion of the match and place the code (the XXX part) into another column.

I can handle the excel coding part. I just need help with the regex.

If you can provide a solution to do this entirely within Excel – no coding required, just using native excel formula and commands – I would like to hear that, too.

Thanks!

###################################  
Structure
abms feature = rl

abms feature = sta

abms feature = pc, pcc, pi, poc, pot, psc, pst, pt, radp
font = 5               abms feature = equl, equr


abms feature = bl

abms feature = tl

abms feature = prl





font = 5
###################################
  • 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-12T05:06:36+00:00Added an answer on May 12, 2026 at 5:06 am

    Try this regular expression:

    abms feature = (\w+)

    Here is an example of how to extract the value from the capture group:

    using System;
    using System.Text.RegularExpressions;
    
    class Program
    {
        static void Main()
        {
            Regex regex = new Regex(@"abms feature = (\w+)",
                RegexOptions.Compiled |
                RegexOptions.CultureInvariant |
                RegexOptions.IgnoreCase);
    
            Match match = regex.Match("abms feature = XXX");
    
            if (match.Success)
            {
                Console.WriteLine(match.Groups[1].Value);
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this simple script that I'm working on. I must admit, I'm totally
I have just installed Microsoft Robotics Studio 2008 R2, and I must admit that
I must admit that I have extreme diffculties in using the pysvn module. Unlike
I recently used Meebo and I must admit I'm a little paranoid about typing
I must admit I have researched a bit but keep coming into a block
Now I must admit that I'm stumbling around in the dark a little bit
I have been doing a little reading on Flow Based Programming over the last
I must admit that I am incredibly jealous of those developers who happen to
I must admit the HTML5 semantic markup confuses me. I'm talking about these tags
I must admit that I don't really know if this is the right place

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.