Regular Expression Fails
Posted
by Meander365
on Stack Overflow
See other posts from Stack Overflow
or by Meander365
Published on 2010-04-19T08:27:33Z
Indexed on
2010/04/19
8:33 UTC
Read the original article
Hit count: 158
JavaScript
|regex
Anyone help? When I run this I get " invalid quantifier ?<=href= "
var aHrefMatch = new RegExp("(?<=href\=")[^]+?(?=")");
var matchedLink = mystring.match(aHrefMatch);
But I know the regular expression is valid.
Any ideas?
© Stack Overflow or respective owner