(Side Note: I've thought about using the inner references which are another option 'currently', so suggestions to that extent are welcome also)
String 1 Example: (assume Str1 = )
Str1 = "<p class=MsoNormal><b style='mso-bidi-font-height:normal'>Glossary of assumed
terms:<o:p></o:p></b></p>"
String 2 Example: (assume Str2 = )
Str2 = "<li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'>Desktop</li>"
Currently I don't care about lost formatting, I simply want all of the tags gone. and the plain text output. Hopefully the regular expressions are pretty straight forward and any ideas would be greatly appreciated ASAP.
Thanks
I shouldn't need the multiline flag but I'll keep that in mind if my data isn't kicking out quite right which will most likely be from the lovely carriage returns.
Now I just need to convert your perl RegExp over to javascript for use in html/javascript which won't be very hard... I"ll be sure to come up with a harder question later. :D
Thank you for the prompt reply, I was crossing my fingers.
I will get this regexp stuff figured out eventually, it's all too powerful of an option not to learn.
With just the regular expressions you'll have a hard time covering numerous special cases that will totally screw such a straightforward "parser".
It won't be easy at all due to man variations word adds, but if it was easy there'd be more people doing what we do :D.
Garoun