Alternation is the term in regular expression that is actually a simple “OR” ... alert( str.match(regexp) ); // [url]http://google.com[/url].
確定! 回上一頁