Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこの正規表現を持っています
[^a-z]*
すべての文字/単語を除外します。しかし、私たちが指定した単語を除いて、すべての文字/単語を除外するようにやり直す方法。
代替として含めたい単語のリストを入力するだけです。word1|word2|[^a-z]*
word1|word2|[^a-z]*
フレームに変数を渡したいのですが、現在のページを取得しました。
コード:
function redirect(e){ $('#frame').show(); document.getElementById('frame').contentWindow.document.location.href = "page.