c-请问匹配最后一个空格后的内容的正则表达式怎么写?

WBOY
Release: 2016-06-02 11:30:13
Original
1092 people have browsed it

cphpjavascript正则表达式c++

请问匹配最后一个空格后的内容的正则怎么写?

或者说匹配最后一个空格前的内容的也可以。

我自己试了几种都没有用。

还有\s 的话,到底能不能匹配到中文的空格呢?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!