searching for words starting with specific letters using JavaScript RegExp

前端 未结 0 1948
时光说笑
时光说笑 2020-12-31 06:19

I need to find all the words in a string array which start with m but not have m in the middle?

var arr = "Hello my mother! how is Ramy?         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题