let str = '<a>[Cite]</a><br><br>12345<br><br>1234' js 判断字符串里面是否存在两个连续的<br><br>
时间: 2023-10-12 12:04:53 浏览: 89
根据引用\[3\]中的内容,我们可以使用正则表达式来判断字符串中是否存在两个连续的`<br><br>`。可以使用`/\<br\>\<br\>/`来匹配字符串中的两个连续的`<br><br>`。如果匹配成功,则说明字符串中存在两个连续的`<br><br>`。
#### 引用[.reference_title]
- *1* *2* [jsp、JavaScript与html](https://blog.csdn.net/weixin_33828101/article/details/89804682)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [面试题<初级>](https://blog.csdn.net/weixin_30855761/article/details/95846012)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文