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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:53:57+00:00 2026-05-18T22:53:57+00:00

We have developed some flash application with WYSIWYG editor on backend. We have to

  • 0

We have developed some flash application with WYSIWYG editor on backend. We have to present more functionality in editor so we decided to put custom tags < start more > … < /end more > in our WYSIWYG.

All HTML is parsed and converted to XML, but only problem is we need to get the start more /end more tags to convert them to custom fade effects to show more content on a post inside flash.

Long story short, here is sample XML output.

Some text outside <start more> some text inside</end more>
some other text <start more>1 and some random stuff <start more>2 and 
thing </end more>2 and random stuff </end more>

Regular expression to get start more and end more

/(<start more>){1,1}(.+?)(<end more>)/

this expression capture first < start more > and first < end more > in the string. i tried to do negative lookahead assertion to only get inner most tags. but not working.

hope it makes sense. Let me know if I couldn’t explain the problem.

  • 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-18T22:53:57+00:00Added an answer on May 18, 2026 at 10:53 pm

    You should work that into your parser, which you said you already have.
    If you change <start more></end more> to a valid pair, say <more> </more>, any HTML parser should already handle it correctly, even if it isn’t a known tag.

    If you insist, a weak regex might be:

    /<start more>(((?!<(?:/end|start) more>).)+)</end more>/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed some custom DAO-like classes to meet some very specialized requirements for
I have developed some sms application and I can't figure out how to solve
I have developed application for drawing some shapes (lines mostly) , now i need
I have developed a custom dijit Templated Widget. I have to do some DOM
I have developed some mysql queries for my application, and created indexes and used
I have a Flash-based (AC3) application which does some network activity. Is there any
I have developed some classes with similar behavior, they all implement the same interface.
i have developed some applications for blind which makes them to use basic mobile
I've studied C programming in college some years ago and have developed some medium
We are developing a customized installer using Wix and Wpf. We have developed some

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.