Archives

You are currently viewing archive for 28 November 2006
Category: Web dev
Posted by: hajime osako
Category: Web dev
Posted by: hajime osako
"a. ○できる  txt.replace( /hoge(.*)huga/, "huga$1hoge"); b. できない  txt.replace( /hoge(.*)huga/, "huga" $1 "hoge"); c. できない  txt.replace( /hoge(.*)huga/, "huga" RegExp.$1 "hoge");"
ひろ式めもちょう: JavaScriptのreplaceで正規表現による後方参照
Category: MS tips
Posted by: hajime osako