MISIIM Posted September 1, 2007 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
Stumpii Posted September 1, 2007 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.
MISIIM Posted September 1, 2007 Author 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
weaponx Posted September 1, 2007 Posted September 1, 2007 When you say "remove xml" are you just wanting to strip off tags and leave text?
Stumpii Posted September 1, 2007 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.
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