我想将字符串的一部分用于其他地方。例如,我有以下字符串:
我想从字符串中获取值“XYZ 是项目名称”。数字前面的单词“Project”和字符“-”将始终存在。
regex powershell sharepoint
powershell ×1
regex ×1
sharepoint ×1