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

The Archive Base Latest Questions

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

For a project, I’m trying import htmlText into flash, and then remove any items

  • 0

For a project, I’m trying import htmlText into flash, and then remove any items flash will not process. For example, the html I want to import contains custom “” code. I essentially want to remove these identifiers and any text from in between them so that flash will not display them in a text field. Does anyone have a good suggestion/example for me? I have been trying to figure out how to use regular expressions to do this, but have been unsuccessful in finding a good guide for it and so have failed.

And example of text I’m trying to filter:

<em>Pushmo</em> is a game filled with questions. How do I solve this puzzle? Is that a 8-bit Mario's face? Why is this old, obese blob making tons of death traps that easily ensnare and encase unsuspecting children?

<a href="/2011/12/pushmo-review/pushmo-3ds-title-screen/" rel="attachment wp-att-37414"><img class="size-medium wp-image-37414" title="Pushmo-title" src="/2011/12/pushmo-3ds-title-screen-400x203.jpg" alt="Pushmo Title Screen" width="400" height="203" /></a>

The fat, red sumo goes into the most dangous place imaginable.

<em>Pushmo</em> is a downloadable puzzle game in the 3DS eShop. In <em>Pushmo</em> you take on the role of Mallo, an amorphic red sumo wrestler with the mind of an Einstienian savant.

I’m looking to be able to detect identifying text and remove anything between them. I’d appreciate any suggestions anyone can give me.

  • 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-27T16:58:07+00:00Added an answer on May 27, 2026 at 4:58 pm

    You might be able to use indexOf and lastIndexOf to achieve this without regex.

    Also you should have a look at String.replace

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/String.html

    and an as3 regex tutorial:

    http://snipplr.com/view/6608/as3-regular-expression-basics/

    finally a tutorial for pure regex:

    http://www.regular-expressions.info/tutorial.html

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

Sidebar

Related Questions

Project has_many :items Item belongs_to :project I'm trying to get the projects sorted by
Project Requirements: I need to build a web service that will receive chunks of
Project Euler 126 says: If we then add a second layer to this solid
Project (id) Permission (project_id, user_id) When trying to save a project, I get the
Project is to create exe file. If we run exe file it will open
My project compiles, link and run in xp32 then I tried to cross compile
My project for this summer is to make a multiplayer online flash game. I
Project doesn't need any javascript libraries such as jQuery, Dojo, Prototype so there is
Project Darkstar was the topic of the monthly JavaSIG meeting down at the Google
Project: http://design.vitalbmx.com/fave/news.html When I click Add to favorites button (under main pic), in Chrome

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.