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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:04:52+00:00 2026-06-10T21:04:52+00:00

I have an XML file (many MB in size), which I view using Notepad++.

  • 0

I have an XML file (many MB in size), which I view using Notepad++. Many of the XML nodes are of the form:

<ItemInfo ID="something" Name="some name1" />

The ID attribute can have values containing special characters like semicolon (;).

Example:

<ItemInfo ID="something" Name="some name1" />
<ItemInfo ID="some;thing;" Name="some name2" />
<ItemInfo ID="some;thing" Name="some name3" />

Now, I want to go over all occurrences (using regex in the Find feature) in which the value of the ID attribute contains one or more semicolons (;).

After seeing some example on the web, I tried the following with no success.

"<ItemInfo ID="".*";

"<ItemInfo ID=""(.*)";

"<ItemInfo ID=\"".*";""\""

In essence, I’d like to find all strings:

containing a specific character,

starting with some fixed text, and

ending with some fixed text.

Can anyone please give a solution or point me in the right direction? I think I’d have to do the same kind of operation frequently in the future.

Thanks in advance.

  • 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-10T21:04:53+00:00Added an answer on June 10, 2026 at 9:04 pm

    Try the following to find all strings which contain a ; in the ID:

    <ItemInfo ID="[^"]*;[^"]*
    

    To find strings having an ID that starts with some fixed text:

    <ItemInfo ID="text[^"]*"
    

    And to find strings having an ID that end with some fixed text:

    <ItemInfo ID="[^"]*text"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XML file which has many section like the one below: <Operations>
I have an XML file from which I am parsing some content to display
I have an xml file which has many numbers which are formatted incorrectly in
I have an xml file of the form: <property name=foo value=this is a long
I have a xml file and within which i have some key value pairs.I
I have a large XML file (many MBs) that I cannot afford to download
I have an XML file that looks like <?xml version=1.0> <playlist> <name>My Playlist</name> <song>
I have a xml file which I need to open with Microsoft Word 2007.
i have the following function i wrote to create an XML file using Xerces
I have many xml file's, I do not want to get the value, but

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.