Given a certain piece of text that contains a URL, how to extract the URL and replace it with clickable copy.
Example:
A copywriter:
<code>欢迎来到http://www.baidu.com/aaa/bbb,多谢指教!</code>
Copywriting after conversion:
<code>欢迎来到<a href='http://www.baidu.com/aaa/bbb'>http://www.baidu.com/aaa/bbb</a>,多谢指教!</code>
Do you have any good ideas
Given a certain piece of text that contains a URL, how to extract the URL and replace it with clickable copy.
Example:
A copywriter:
<code>欢迎来到http://www.baidu.com/aaa/bbb,多谢指教!</code>
Copywriting after conversion:
<code>欢迎来到<a href='http://www.baidu.com/aaa/bbb'>http://www.baidu.com/aaa/bbb</a>,多谢指教!</code>
Do you have any good ideas
Regular matching converted