The regular expression url replaces a symbol

/ 7.html 1-2-3-4-5-6-jump to / s/1_2_3_4_5_6_7.html
url-replace _
how to make NGINX jump


for regular de-substitution characters, JS's replace method can be implemented:

var urlstr='/s/1-2-3-4-5-6-7.html'
var newurlstr=urlstr.replace(/-/g,'_')
console.log(newurlstr);
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37fb6-2c0bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37fb6-2c0bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?