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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:34:58+00:00 2026-05-27T21:34:58+00:00

I have a big xml file (>300 mb), I am using notepad++ to find

  • 0

I have a big xml file (>300 mb), I am using notepad++ to find and replace using regular expression. I need to select (and remove) xml node which has multiple children across multiple lines.

<contact attrib="foo">
    <child 1></child1 1>
    <child 2></child1 2>
    ...
    <child n></child n>
</contact>

I tried searching with

<contact.*?</contact>

this only works if its all on the same line. Having trouble selecting multiple lines. Any suggestions?

  • 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-27T21:34:59+00:00Added an answer on May 27, 2026 at 9:34 pm

    The problem you’re having lies with the engine Notepad++ uses for regular expressions. Refer to the answer posted here for solutions. I’ve had success with this particular one in advanced search mode:

    Ctrl+M will insert something that matches newlines. They will be replaced by the replace string.
    I recommend this method as the most reliable, unless you really need to use regex.

    Also, if you need to edit large XML files, I’d recommend an editor like Foxe for a more intuitive workflow.

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

Sidebar

Related Questions

I am using Eclipse IDE I have a big XML file . I wan
I have a quite big XML output from an application. I need to process
I have a big XML file the setup my application. There are a lot
I have a big xml file and parsing it consumes a lot of memory.
I have a big problem. My program must save a Xml file with 3
I have a big XML file but I do not know its schema. I
I've got a fairly big XML file that I need to parse into a
My question is as follows: I have to read a big XML file, 50
I have a big xml file which is composed of multiple xml files. The
I have a big (1.9 GB) XML file which has data I want to

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.