i'm looking for regular expr. for extract the title from a html-document. i've the following:
which on is better .. or do you have another on? Next, i've a regular expr. to get rid from all html-tags:/<title>([^<]*)/i /(?i)<title>(.*?)<\/title>?/i
same above .. which one is better or do ya have the best for this topic ;o)?s/<[^>]+>//g; /<(?:[^>'"]*|(['"]).*?\1)*>//gs;
thx a lot
Rufnex
In reply to Which one is the better Regex? by Rufnex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |