作者:燕阳阳消_469 | 来源:互联网 | 2023-10-11 18:10
I have the following regex:
我有以下正则表达式:
/["]*(?.*)[\"]*?\s*[<(](?\w.*)[>)]/.match("\"The Boss\" ")
and get the following result:
并得到以下结果:
name = The Boss"
email = daboss@aol.com
How do I get rid of the last quote on The Boss"???
我怎么摆脱老板的最后一句话“???
Feel free to refactor my regex to make it more sensical...
随意重构我的正则表达式,使其更具感性......
2 个解决方案