您好我有這樣的記錄給定的字符串特定長度的字符, 如: Health Insurance PortabilityNEG Ratio
Health Insurance PortabilityNEGRatio
Health Insurance PortabilityNEG NEGRatio
在這裏,我需要提取PortabilityNEG 我用正則表達式作爲 Insurance(.{25}).*?
我有我想分成數組中包含的如下面的示例項目其中一個字符串: var text = "I like grumpy cats. Do you?"
// to result in:
var wordArray = ["I", " ", "like", " ", "grumpy", " ", "cats", ".", " ", "Do", " ", "you", "?" ]
我試着下面的表達式(