Printer Friendly Version
Email this thread to a friend
|
what is best php or html? (In: General Search Engine Optimization)
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
austerian
Joined: Jul 29, 2007
# Posts: 8
|
Posted: 2007-Jul-30 22:28
Hello,
Does anyone out there in the ether know of a regular expression that will extract text from an HTML file?
If so can you post it?
|
 |
Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1788
|
Posted: 2007-Jul-31 06:15
A regular expression is designed to look for the occurrences of a pre determined set. To write such an expression, you must know what you mean by "text" and how it is formatted inside the HTML file.
|
 |
david68
Joined: May 16, 2005
# Posts: 144
|
Posted: 2007-Jul-31 14:22
Do you mean strip out HTML tags? If so, strip_tags would do it. See php.net/strings or us2.php.net/manual/en/function.strip-tags.php for more info.
|
 |
austerian
Joined: Jul 29, 2007
# Posts: 8
|
Posted: 2007-Jul-31 20:06
Thanks
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|