求大佬正则匹配下面一段话里的特定字符转换成a链接。
ALK, anaplastic lymphoma kinase, is a receptor in the insulin receptor superfamily and is a key regulator of neuronal development (PMID: 21502284) and also promotes cell proliferation through activation of MAPK and PI3K signaling pathways (PMID: 27573755). Alk activating mutations, rearrangements, and fusions have been identified in various cancers (PMID: 22649787), including EML4-ALK in non-small cell lung cancer (PMID: 30108712, PMID: 30194140), and a number of mutations confer resistance in the context of Alk fusions (PMID: 25749034, PMID: 21948233).
转换成
ALK, anaplastic lymphoma kinase, is a receptor in the insulin receptor superfamily and is a key regulator of neuronal development (PMID: 21502284) and also promotes cell proliferation through activation of MAPK and PI3K signaling pathways (PMID: 27573755). Alk activating mutations, rearrangements, and fusions have been identified in various cancers (PMID: 22649787), including EML4-ALK in non-small cell lung cancer (PMID: 30108712, PMID: 30194140), and a number of mutations confer resistance in the context of Alk fusions (PMID: 25749034, PMID: 21948233).
自己的写法:react
这不是放在html里吗?为什么不显示a链接?而结果却是下面这样:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这个时候是不是要说谢邀(?)
楼上的已经ok了,不过他的正则(PMID: 25749034, PMID: 21948233)这样没
有匹配出来。
点击不能跳转的原因是你的a标签必须是在html里面才可以!