LoginSignup
4
3

More than 5 years have passed since last update.

URLから拡張子を抜き取る正規表現

Posted at

trace("aaa.php#hoge=hoge".replace(/.[a-z0-9]+([#\?])/, ".i$1"));

4
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3