<

[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x

Matching Tagged Data with PHP Regular Expressions

Posted on
6,406 Points
306 Views
1 Endorsement
Last Modified:
Experience Level: Beginner
4:04
Terry Woods
Bridging the gap, in a way you can understand, between what you want and tech that can achieve it. Websites, web based software, email...
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will work in other browsers.

Video Steps

1. Important note about parsing tagged data

2. Show how to find an element on an HTML page using Firefox developer tools

3. Show how to capture the tagged data using the PHP function preg_match

4. Show how to separate the tags from the enclosed data

5. Show how to use the PHP preg_replace function to replace a value with a new value

1
Comment
Author:Terry Woods
0 Comments

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Join & Write a Comment

There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
Suggested Courses
Course of the Month19 days, 1 hour left to enroll

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month