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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T09:01:42+00:00 2026-05-16T09:01:42+00:00

/** Constant <code>IDX_USER=IDX_+ USER_ID</code> */ I have several lines of code which was generated

  • 0
/** Constant <code>IDX_USER="IDX_+ USER_ID"</code> */

I have several lines of code which was generated by javadoc and show up something like the above. I would want to find all lines starting with /** Constant IDX_ and all the way to the end of the line.

How should I do this? Will be using the regex search and replace capability in Eclipse to manipulate the modifications

  • 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-16T09:01:43+00:00Added an answer on May 16, 2026 at 9:01 am

    You can use the special character ^ to indicate that your regular expression starts at the beginning of a line. For example, given your regex, you could search for:

    ^\/\*\* Constant IDX_
    

    You probably also want to allow whitespace prior to the comment. The regular expression [ \t]* will match zero or more spaces or tabs, making the following regular expression:

    ^[\t ]*\/\*\* Constant IDX_
    

    match anything starting with /** Constant IDX_ (allowing whitespace at the beginning of the line).

    If you want the entire line (perhaps to capture the contents of the comment after your regex, you can use $ to indicate the end of a line, and . to match any character. Combine this with * (to indicate zero or more occurences), and you’ll end up with:

    ^[\t ]*\/\*\* Constant IDX_.*$
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 502k
  • Answers 502k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Before .NET 4, Code Access Security (CAS) was the security… May 16, 2026 at 2:44 pm
  • Editorial Team
    Editorial Team added an answer Try declaring the xhtml namespace to the xpath, e.g. bind… May 16, 2026 at 2:44 pm
  • Editorial Team
    Editorial Team added an answer Use /dubserv and not /dubserv/ with WSGIScriptAlias. The instructions shouldn't… May 16, 2026 at 2:44 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Say I have a class Code defined like this, with a user specified type
I am trying to code a global lookup table of sorts. I have game
Could you help me to correct my parse code. constant fixup privite ConfigAlarms =
I find myself writing code that looks like this a lot: set<int> affected_items; while
The following code: var constant = Expression.Constant(find me, typeof(string)); // memberExpression evaluates to a
Just a simple question on NSStrings, I have a piece of code that assigns
I have a map that represents a DB object. I want to get 'well
We have a couple of utility functions declared on class level in jsp. Using
I want to copy F:\test to folder F:\123 so that I have folder F:\123\test.
For code, while(1) { /* ..... */ } MSVC generates the following warning. warning

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.