<

Matching Tagged Data with PHP Regular Expressions

Posted on
6,461 Points
361 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Join & Write a Comment

In a question here at Experts Exchange, a member was looking for "a little app that would allow sound to be turned OFF and ON by simply clicking on an icon in the system tray". This article shows how to achieve that, as well as providing the same OF…
Laravel is the most sought after web development framework. It comes with ample amount of features that make it easy for developers to work around it. Know about its features in detail.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month