Skip to content
WJunction - Webmaster Forum

Php Regular Expression ?

Status
Not open for further replies.

warezrock

Experienced Member
704
2009
23
So here is the html..

PHP:
<tr>
	<th>Country/Region: </th>
	<td>Hong Kong</td>
</tr>
<tr>
	<th>Anything:</th>
	<td>852-356-39195</td>
</tr>
<tr>
	<th>Anything:</th>
	<td>852-356-39196</td>
</tr>

I need to get the first occurring of <td></td> like "<td>Hong Kong</td>" from it.
what the regular expression ? Anyone know ?


Thanks
 

1 comment

Status
Not open for further replies.

About the author

W
Experienced Member · Joined
704
Messages
23
Reactions
18
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom