I'm hopeing that a RegExp guru can grace me with thier knowledge...
I would like to accomplish the following:
Input:
<div style="text-align:center;width:inherit;text-color:blue;">SOME TEXT</div>
Desired Output:
SOME TEXT
currently playing around with something like this:
/<(div)([ ]([a-zA-Z]+)=("|')[^"\']+("|'))*[^>]+>([^<]+)(<\/div>)/ig
Any suggestions?
Thanks
atsea
I would like to accomplish the following:
Input:
<div style="text-align:center;width:inherit;text-color:blue;">SOME TEXT</div>
Desired Output:
SOME TEXT
currently playing around with something like this:
/<(div)([ ]([a-zA-Z]+)=("|')[^"\']+("|'))*[^>]+>([^<]+)(<\/div>)/ig
Any suggestions?
Thanks
atsea