Regular expression to search multiple strings (Textpad)

前端 未结 3 548
挽巷
挽巷 2020-12-13 23:51

I\'m a bit new to regex and am looking to search for multiple lines/instaces of some wildcard strings such as *8768, *9875, *2353.

I would like to pull all instances

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-14 00:31

    If I understand what you are asking, it is a regular expression like this:

    ^(8768|9875|2353)
    

    This matches the three sets of digit strings at beginning of line only.

提交回复
热议问题