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 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

Related Questions

I find myself using the 'pattern' below rather unsettlingly often, when I want to
For some time now, I've been using the design pattern of objectOne, shown below.
I'm using below query to count the daily result, but now I'm make it
I was using a REGEX pattern in java (given below): for the string: It
I my application I am using below regex for pattern matching. Original Pattern :
I have string in below pattern author~time~assignedAuthor~assignedAuthor/id~assignedAuthor/addr~assignedAuthor/telecom~assignedAuthor/assignedPerson/name~ All the time the first element is
I'm using this regex to parse lines of a CSV in APEX: Pattern csvPattern
I am trying to retrieve data form a dataset by using code below :
I have a dynamic pattern that I have been using the code below to
I'm using templates for implementing the CRTP pattern. With the code below I'm getting

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.