OZONE Asylum
Forums
DHTML/Javascript
need a way to seacrh and move html tags in a string....
This page's ID:
29174
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi guys Im in a fix... I need to work on a regular expression or a snippet that searches a given string for html opening and closing tags... and what it does is that it moves all closing html tags to the end of the string and all opening tags to the beginning of the string..so for example lets say this string: [code]stuff one <span style="blablaba">text tex <strong>somesome text </strong>more text more text </span> ending stuff[/code] becomes this: [code]<span style="blablaba"><strong>stuff one text tex somesome text more text more text ending stuff</strong></span> [/code] ANy one have any ideas or tips please do share... Thanks again in advance
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail