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

  • Home
  • SEARCH
  • 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 8442483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:51:16+00:00 2026-06-10T08:51:16+00:00

Okay… so this may be a stretch. I’d like to feed a List of

  • 0

Okay… so this may be a stretch.
I’d like to feed a List of TextStrings to a function and
then it would return the regular expression syntax back to me.
I’m working with a pattern of Tags or Tags for Items to be tracked.
I’d like to to be able to detect all the possible patterns that exist.
I thought a regular expression that could sum it up would be great.

Is this something that has been done before.

I’m working in VB.NET C# suggestions are fine to.

Maybe this is a poor programming design. But mostly wanted to now where to start searching?
What would I even lookup under google?

Or can you offer me some direction on how to design a function like 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-06-10T08:51:18+00:00Added an answer on June 10, 2026 at 8:51 am

    Very interesting question. Not sure if there is a good answer or not but this was the first thing that came to mind:

    Loop through each target string
        Loop through each character in each target string
           Categorize that character as precisely as possible.  7 = \d, f=[a-z] etc
           Create a list of the categories for each character in order.
           Add that list of categories to a list of lists
        End character loop
    End target string loop
    

    Attempt to use your List of category lists to determine a regex that will match all target strings. For example if your List of Category Lists looks like this:

    \d,\d,\d,[a-z],[a-z]
    \d,\d,\d,[a-z],[a-z]
    \d,\d,[a-z],[a-z]
    

    You may be able to determine your regex needs match two to three digits followed by two lower case letters. Not a whole lot to go off of, but maybe a place to start? I’d be interested to see if you come up with a working solution…

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

Sidebar

Related Questions

Okay here is my url: http://example.com/home/process_login I would like to replace the underscore with
Okay, so I've known about this for like 600 years now, but I've only
Okay this seems like a real noob question. I currently have a simple html
Okay. I know this looks like the typical Why didn't he just Google it
Okay so I can't figure this out. Like a file that I using grep
Okay, I know this is going to sound like homework; but here goes any
Okay, I feel like I should be able to do this, but I have
Okay this question is very simple: I have a facebook page, and a website.
Okay, I feel a bit foolish for having to ask this but I guess
Okay, this is probably a very basic question; but, I'm just getting back in

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.