MISIIM Posted September 1, 2007 Share Posted September 1, 2007 (edited) How would I use a regex to strip xml and leave the content? I currently have this. \<([^>"']("[^"]")?('[^']')?)*\> Thanks. Edited September 1, 2007 by MISIIM Link to comment Share on other sites More sharing options...
Stumpii Posted September 1, 2007 Share Posted September 1, 2007 Have you looked at this: http://www.autoitscript.com/forum/index.php?showtopic=19848 ? Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. Link to comment Share on other sites More sharing options...
MISIIM Posted September 1, 2007 Author Share Posted September 1, 2007 (edited) Yes I have. It seems like overkill. I just need to remove any xml. Edit: Fixed Edited September 1, 2007 by MISIIM Link to comment Share on other sites More sharing options...
weaponx Posted September 1, 2007 Share Posted September 1, 2007 When you say "remove xml" are you just wanting to strip off tags and leave text? Link to comment Share on other sites More sharing options...
Stumpii Posted September 1, 2007 Share Posted September 1, 2007 It would be useful to have some example XML and to see what parts you want to extract. Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now