top of page
  • pregasbacawin

Javascript-remove-last-slash-from-string

Jul 13, 2011 — 12 Answers · This is the real answer! – Can PERK Aug 15 '18 at 13:43 · 2. If you want to trim both slashes and backslashes: .replace(/^[\\/] |[\\/] $/g, ...




javascript-remove-last-slash-from-string








Jul 30, 2020 — "Replace all ( /.../g ) leading slash ( ^\/ ) or ( | ) trailing slash ( \/$ ) with an empty string.". 939c2ea5af


javascript remove last slash from string, javascript remove slash from string, javascript remove forward slash from string, javascript remove first slash from string, javascript remove leading slash from string, javascript remove all slashes from string, js remove forward slash from string


0 views0 comments

Recent Posts

See All
bottom of page