topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 2:11 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Searching Pre-format text in HTML and replacing with Icon  (Read 3139 times)

shahtheworrior

  • Participant
  • Joined in 2021
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Searching Pre-format text in HTML and replacing with Icon
« on: January 30, 2021, 03:05 PM »
Hi, I had been looking for support to identify e-mail addresses of a web-page and replaces with contact now button(icon) which would further open the mail server. Till now, I got this:

html_string = "Your HTML here..." email_address = html_string.match(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}/i)[0]

Thanks for your support. It would mean a lot to me!