06-17-2013, 06:05 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2013
Device: none
|
REGEX for URLs and emails
Hey there,
I hope someone can help me. I'm currently writing my Bachelor Thesis about digital publications. I'm trying to find REGEX expression which fasten ePub corrections with Sigil. What I need is to find an expression which finds URLs and eMail-adresses which are not an actual hyperlink (<a href="...">...</a>) an turn them into one. FIND: www.... / http:... oder whatever Replace with: <a href=”http://\1">\1</a> I found this: (http|ftp|www)(\S+)|(\S+) (\.gov|\.us|\.net|\.com|\.edu|\.org|\.biz) But unfortunately it includes </p>-Elements or and adresses which already are links. Can anyone help me with my problem? Yours sincerely Magnolee |
Tags |
e-mail, grep, html, regex, url |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find underlying News URLs? | terencek | Recipes | 2 | 01-07-2013 11:44 PM |
Kobo firmware URLs? | ringerc | Kobo Reader | 4 | 01-23-2011 11:08 AM |
epub and longs urls | irc | ePub | 10 | 08-27-2010 11:04 AM |
Turn URLs into Dickens quotes | Bob Russell | News | 0 | 05-03-2009 10:12 AM |
ebook URLs on delicious.com | Teresita3 | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 01-29-2007 12:46 AM |