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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:04:56+00:00 2026-06-15T02:04:56+00:00

In a text file, I use a find to filter the following selection getEnvReadinessConfirmed(

  • 0

In a text file, I use a find to filter the following selection

getEnvReadinessConfirmed(
getVersionAvailable(

(I use get\w*\( to do this)

Is there any way I could duplicate the word after its occurrence as in

getEnvReadinessConfirmed(getEnvReadinessConfirmed(
getVersionAvailable(getVersionAvailable(

I am looking at http://www.nncron.ru/help/EN/add_info/regexp.htm, specifically at

{n,}    To repeat n or more times

for some hints but unable to get anything working.

Hopefully I am not doing anything terribly stupid but here is the screenshot

enter image description here

enter image description here

Greatly appreciate any pointer.

  • 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-15T02:04:58+00:00Added an answer on June 15, 2026 at 2:04 am

    You can use a backreference

    /(get\w+\()\1/
    

    See it working on Rubular

    Here it is working in Sublime Text 2 (per your question tag).

    1. press cmd + F
    2. press the ✶ button in the lower left
    3. enter (get\w+\()\1 in the Search field
    4. click Find

    sublime text 2


    Here’s how to do a Find/Replace using regex

    before

    before

    after

    after

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

Sidebar

Related Questions

I use the following coding which edits my text file based on the value
Which function can I use to get the content of a plain text file?
This is the preg_match i am trying to use to find specific text in
i use LineNumberReader to read text file , when call setLineNumber and getLinenumber it
I have a big text file (5Mb) that I use in my Android application.
I want to use echo to add data into a text file progressively. I
I've got a multi line text file that I want to use to create
I am trying to use FileHelper library for parsing a text file. Ultimately the
What encoding we need to use to save a file as text file(of type
I have a number of text file. I would like to use NLTK for

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.