Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!news.unit0.net!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <48029026.O8LEcLiMsM@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Wed, 19 Feb 2014 15:20 +0100 User-Agent: KNode/4.11.5 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. MIME-Version: 1.0 Lines: 23 NNTP-Posting-Date: 19 Feb 2014 15:20:11 CET NNTP-Posting-Host: be01ff9d.newsspool2.arcor-online.net X-Trace: DXC=`;cGF>T7Rhj;iVb[J9ZZP`A9EHlD;3Ycb4Fo<]lROoRa8kF I'd like to parse users' textfield HTML input with a regex. The user > writes regular html, ^^^^^^^^^^^^ What do you mean by that? > including links with a hash > (mysite.com/somedocument/file.html#thehash) I want to extract all unique > that match #thehash but wouldn't know how to build the regex. > (so i can sum them up in another location) RTFM: PointedEars -- realism: HTML 4.01 Strict evangelism: XHTML 1.0 Strict madness: XHTML 1.1 as application/xhtml+xml -- Bjoern Hoehrmann