T
The Cleaning Wonder Boy
Could someone please explain to me what the (?<Key> and (?<Value>
are in the following Regex expression?
This gets relative links in an HTML string (file).
"(?<Key>href=[""'](?!#|http|ftp|mailto|javascript)(?<Value>[^""']*)
[""'])"
Here is usage:
reg = New Regex( _
"(?<Key>href=[""'](?!#|http|ftp|mailto|javascript)(?<Value>
[^""']*)[""'])", _
RegexOptions.IgnoreCase _
Or RegexOptions.Multiline _
Or RegexOptions.Compiled)
What would that be as a standard Regex expression, for Perl or any other
regex engine?
are in the following Regex expression?
This gets relative links in an HTML string (file).
"(?<Key>href=[""'](?!#|http|ftp|mailto|javascript)(?<Value>[^""']*)
[""'])"
Here is usage:
reg = New Regex( _
"(?<Key>href=[""'](?!#|http|ftp|mailto|javascript)(?<Value>
[^""']*)[""'])", _
RegexOptions.IgnoreCase _
Or RegexOptions.Multiline _
Or RegexOptions.Compiled)
What would that be as a standard Regex expression, for Perl or any other
regex engine?