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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:48:01+00:00 2026-06-12T19:48:01+00:00

I want to search through 250 files with a program which supports regex but

  • 0

I want to search through 250 files with a program which supports regex but I don’t know how to build the query.

This is an example file:

//////////////////////////////Crown Area Effects///////////////////////////////

// Super Spies
DbAreaEffectInfo SuperSpies
{
    name = text_carea_sprspies_name
    desc = text_carea_sprspies_desc
    effects = [
        // scale sabotage super-effect duration

        EffectDuration {
            range = SpaceTime

            player = Self
            // which effect's duration is this scaling
            effect = "SabotageBuilding"
            scale = 1.25
        }

        EffectDuration {
            range = SpaceTime

            player = Self
            // which effect's duration is this scaling
            effect = "ImprovedSabotageBuilding"
            scale = 1.25
        }

        EffectSpeed {
            range = Global
            mask = Spies
            player = Self
            // 25% faster
            scale = 1.25
        }

        EffectMaxHitPoints {
            range = Global
            mask = Spies
            player = Self
            // 25% more hit points
            scale = 1.25
        }

        EffectVisualGlow {
            range = Global
            mask = Spies
            player = Self
            GlowType = Good
            OwnerOnly = true
            Icon = icon_crown_superspies_s
            Tooltip = text_carea_sprspies_name
            VTooltip = vtt_power_unitinfo_SuperSpies
        }

        EffectIsACrown {
            range = Global
            mask = Spies
            player = Self

            crownType = kCrownType_Imperial
        }
    ]
}

and I want to look for a pattern like this one:

<ANYTHING, EVEN NULL>//<ANYTHING, EVEN NULL><MyString><AnyThing, EVEN NULL>

For example for this:

<anything>//<anything>super<anything>

Which would yield this results:

 // scale sabotage super-effect duration

What regex query would give me the wanted results?

Thanks in advance for your time and effort!

Edit:

I am using Effective File Search – http://www.sowsoft.com/search.htm

  • 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-12T19:48:03+00:00Added an answer on June 12, 2026 at 7:48 pm

    The standard regex wildcard is . (for one character). Arbitrary repetition is represented by *. So this should do the trick for you:

    ~//(.*)super(.*)~
    

    Depending on your regex engine you might be able/have to leave out the delimiters ~. Also, since . by default does not match line breaks, the second wildcard will always go to the end of the line and the super has to appear on the same line as //.

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

Sidebar

Related Questions

I want to search through existing Excel files with a macro, but I don't
I want to search through all the files with this name: Resources.Designer.pas, Settings.Designer.pas. My
I have a list of data that I want to search through. This new
Often when I want to search through my code in Visual Studio, I know
I want to recursively search through a directory with subdirectories of text files and
I want to search through files and create images from jpg files. There's the
I've got this Excel Workbook which I want to search for a specific string
I want to search through a html file and then get the url to
Similar Stack Overflow Question I want users to be able to search through my
I want to search two item (name=string and location=json). this search is (one input

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.