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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:08:50+00:00 2026-05-13T11:08:50+00:00

I am using the below pattern to find all the data between two words,

  • 0

I am using the below pattern to find all the data between two words, placed in multiple lines.

/START(.+?)END/

But this doesn’t seems to work as expected. Can someone help me out with a exact pattern.

Thanks.

  • 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-13T11:08:51+00:00Added an answer on May 13, 2026 at 11:08 am

    assuming you can use Python for example.

    >>> s="""
    ... START
    ...   blah1 blah2
    ...   more blah  
    ...   and even more blah
    ... END blah3 blah4 blah5 START blah 6
    ... text here here                    
    ... blah7 END ......                  
    ... START end END                     
    ... """                            
    >>> for item in s.split("END"):
    ...     if "START" in item:
    ...        print item [ item.find("START")+len("START") : ]
    ...
    
      blah1 blah2
      more blah
      and even more blah
    
     blah 6
    text here here
    blah7
     end
    

    Split your string on “END”, go through each splitted items, check for START,and do a substring. Use the split method of your preferred language.

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

Sidebar

Ask A Question

Stats

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

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

    • 7 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Have an array, buffer, of 5 integers. Have an index… May 16, 2026 at 2:24 pm
  • Editorial Team
    Editorial Team added an answer maybe i've found my fault: in locationManager:didFailWithError: when i receive… May 16, 2026 at 2:24 pm
  • Editorial Team
    Editorial Team added an answer Objective C is a superset of plain ANSI C, so… May 16, 2026 at 2:24 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

Below is my deployment descriptor. I'm using Spring MVC, but I've got a url
I'm applying the Factory design pattern in my C++ project, and below you can
I am using C# 3.0. Following the standard event pattern I have: public event
Using the below XML, I need to figure out which person worked more hours
Using the below code in a DataGridTemplateColumn of the DataGrid , my formatting buttons
I've tried using the below solution (also found here: How do I set up
I have the two images below. They are the same image, with one having
UPDATE : from what I'm hearing, I was imagining the problem I describe below.
I Have a question about finding html tags using Java and Regex. I am
UPDATED: Added one more question (Question #4). Hi all, I'm building myself a custom

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.