Classic ASP BasicsFor beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have some html code that is being sent using post to another page i.e. processhtml.asp
The code that is sent lacks quotes in the attribute - heres a small snippet
"<img src=image1.gif width=200 height=100>"
So I would like to go through the whole code and add the quotes using a function. I can match the attibutes without quotes using
pattern = "([a-z])+(\=)([a-z]+|[0-9]+)"
So from here I would like to split each match and add/replace with quote.