Look for regular expressions on the web page that link specific characters.
I referred to the following page.
http://am-yu.net/2012/03/19/auto_keyword_link_php/
However, in this regular expression, if the tag attribute string contains a keyword, it will get stuck in the regular expression and the generated HTML will be corrupted.
Please tell me a regular expression that won't collapse or another way to deal with it.
Thank you for your cooperation
php regular-expression
Replace the string instead of the entire original HTML document
Let's scan the DOM with js and convert only the contents.
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
581 PHP ssh2_scp_send fails to send files as intended
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.