RegExp.lastPaten
myStr = new RegExp("(F......)","g");
str = "WindowsUNIXMacintoshFreeBSDLinux";
document.write(str);
check = str.match(myStr);
document.write("lastParenの結果 ", RegExp.lastParen.italics());
lastParenプロパティを省略して RegExp.$+ と指定することもできます。