To replace before first forward slash, use replace() along with regular expressions. Example. Following is the code − var regularExpression = / ...
確定! 回上一頁