A
ASP.Confused
Hey...no one's answering me in microsoft.public.inetserver.asp.general or
microsoft.public.scripting.vbscript, so I'm posting this question here. I
only need help with a regular expression!
----------
Ok. I have the following regular expression:
re.Pattern = "style[^=]*=[^\""]*\""[^\""]*\"""
It will grab any style attribute within HTML that uses double quotes, and
put it in the re.Matches collection.
Now, I want to include single quotes into this regular expression. Here's
what I have so far:
re.Pattern = "style[^=]*=[^\""']*(\""|\')[^\1]*\1"
but it does not work. Got any suggestions?
microsoft.public.scripting.vbscript, so I'm posting this question here. I
only need help with a regular expression!
----------
Ok. I have the following regular expression:
re.Pattern = "style[^=]*=[^\""]*\""[^\""]*\"""
It will grab any style attribute within HTML that uses double quotes, and
put it in the re.Matches collection.
Now, I want to include single quotes into this regular expression. Here's
what I have so far:
re.Pattern = "style[^=]*=[^\""']*(\""|\')[^\1]*\1"
but it does not work. Got any suggestions?