Home > Article > Web Front-end > Use regular expressions to get the name of a file with a specified path_javascript skills
The main ones involve "" special characters in javascript. Do we need to use regular expressions
<script> <br>var m="D:Picture Beggar Gang.jpg" <br>//Solve it <br></script>
The value you hope to get is "Beggars"