Get certain patterns (URL, URI, email) most in a string and analyze them

Get certain patterns (URL, URI, email) most in a string and analyze them

Pattern-dreamer’s dream is always to get certain patterns(URL, URI, e-mail…) most without false positives in a string. Url (From ver 1.0.1, more stronger than before) A) The core regex is based on the ‘Validator.js’ B) Rare cases such as localhost,ip numbers is detected C) Urls with no-protocol are distilled (strong point) e.g., a sample url without protocols such as http or https “` [… { “value”: { “url”: “protocol”: null, “onlyDomain”: “s5houl7十七日dbedetected.jp”, “onlyParams”: “? japan=go”, “onlyParamsJsn”: { “japan”: “go” }, “type”: “domain” }, “area”: “text” } ] “` // wrong domains such as this are not distilled “` “` The core regex combined with all existing root domains (around over 1770) has made it possible to implement a logic to extract urls with no-protocol.

Source: github.com