From: Joshua Muheim Date: 2009-10-08T05:57:39+09:00 Subject: Detect any "..." string in a string? Hi all I have a long, long string of HTML tags. There might be some unprotected Email links in there like this: Some Email or Some Email or... I need to detect these email links and substitute them with something different, like a JavaScript function to obfuscate them: obfuscate("some","email.xx","Something","Some Email") or something like that. Sadly I have no idea how to find the needed string parts. I stumbled upon the TMail GEM and guess it could help me a lot... But I don't get any further now. Any help is appreciated! Thanks! Josh -- Posted via http://www.ruby-forum.com/.