当前位置:网站首页>正则表达式如何写变量
正则表达式如何写变量
2022-07-26 07:08:00 【hzxOnlineOk】
let str = '万元';
new RegExp('-' + str, 'g'); // 全局匹配g "-万元", 下一步方便替换成空字符
边栏推荐
- Docker modifying the MySQL configuration file attached to the host does not take effect?
- <二> objectARX开发:创建和编辑基本图形对象
- Realize the full link grayscale based on Apache APIs IX through MSE
- Introduce you to JVM from architecture
- 强网杯2021 pwn 赛题解析——baby_diary
- Celery takes up large memory - memory leak
- What are the ways to open the JDBC log of Youxuan database
- opengauss简易版安装报错
- 20220725 compensator in automatic control principle
- XSS labs (1-10) break through details
猜你喜欢

Question: can't download sh shellcheck Please install it manually and some commands of shell script

Drools (4): drools basic syntax (2)

Realization of LED water lamp based on C51

buuReserve(4)

IDEA——使用@Slf4j打印日志

Realize the full link grayscale based on Apache APIs IX through MSE

7. Reverse integer integer

Drools(4):Drools基础语法(2)

Leetcode question brushing 1: topic classification

Flame diagram analysis Flink backpressure
随机推荐
Celery takes up large memory - memory leak
JIT中的IR工具与JITWatch的下载,编译及使用
Drools (2): drools quick start
【QT】怎样获得QTableView和QTableWidget的行数和列数
Acwing- daily question
Deep learning visualization
npm 命令
Is there any online account opening process of Huatai Securities? Is online account opening safe
Manifest merger failed with multiple errors, see logs
AcWing-每日一题
Wechat applet - from entry to penetration
【无标题】转载
What are the ways to open the JDBC log of Youxuan database
Do you know what "parts" MySQL contains?
如何删除语句审计日志?
Realization of LED water lamp based on C51
The method of raspberry pie connecting tmall elf speaker to play music through Bluetooth
[Star Project] small hat aircraft War (II)
MySQL self incrementing lock
Check the top 10 best graphics software of the year, meet 99% of your chart needs, and collect it quickly