How would I, select all records from a table, where there are more than 5 \n's (newlines) and in between those newlines (i.e. every line) has at least x characters.
Can this be done though MySQL or do I have to do this with PHP?
Thanks, -k
Try Regexps, they can be used inside the SQL query.
Have a look at the mysql manual for more info.