What regex to use for this

后端 未结 6 1083
心在旅途
心在旅途 2021-01-19 05:57

I\'m writing a regex that will find either

  • 1 or more dots . .. ... .... followed by a space or not followe
6条回答
  •  心在旅途
    2021-01-19 06:57

    If you need both in the same regex:

    (\.+|\?+)

    Or separate:

    (\.+)

    (\?+)

    And this answer needs to be 30 characters long to submit...

提交回复
热议问题