FAQ
•
Search
•
User Groups
•
Forum Admins
•
Smilies List
•
Statistics
•
Rules
•
Login
•
Register
H
ome
FAQs
L
inks
N
ews
Online Tools
phpBB
Scripts
T
utorials
A
bout us
C
ontact us
Contribute
Credits
Link to us
String Matching
Forum Index
»
Server-Side Coding
Author
Message
kepler
Junior WebHelper
Joined: 08 Feb 2002
Posts: 37
Posted: Tue Nov 11, 2003 10:11 am (20 years, 5 months ago)
Hi again,
I'm trying to extract some information from a html file. The structure of the pattern is:
/word1/word2/number1/number2_number3.html
word 1 to 2 are characters and number 1 to 3 are really numbers.
I've tryed in my ignorance the following:
$line = ~ /word1\/word2\/[0-9]*\/[0-9]*_[0-9]*.html/gi;
and
$line = ~ /word1\/word2\/[0-9]*\/[0-9]*_[0-9]*\.html/gi;
But instead of getting the pattern I get the whole html page... it's frustrating.
Does anyone knows why?
Best regards,
Kepler
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Forum Index
»
Server-Side Coding
Jump to:
Select a Forum
» 4WebHelp
Announcements
Our Site: Feedback & Questions
» General
Chit Chat
Freedom2Surf
Advertisements
» Support
General
Website Reviews
Client-Side Coding
Server-Side Coding
Databases
Web Servers
Hosting & Domain Names
Graphics & Flash
You
cannot
post new topics in this forum.
You
cannot
reply to topics in this forum.
You
cannot
edit your posts in this forum.
You
cannot
delete your posts in this forum.
You
cannot
vote in polls in this forum.
Page generation time: 0.171735 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB
2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme