开发者

Regular expression: zero or more occurrences of optional character /

开发者 https://www.devze.com 2023-01-27 23:24 出处:网络
What is the regular expression pattern to say: zero or more occurrences of the character / 开发者_高级运维?/*

What is the regular expression pattern to say:

zero or more occurrences of the character /

开发者_高级运维

?


/*

If your delimiters are slash-based, escape it:

\/*

* means "0 or more of the previous repeatable pattern", which can be a single character, a character class or a group.

0

精彩评论

暂无评论...
验证码 换一张
取 消