<

Matching Tagged Data with PHP Regular Expressions

Posted on
6,466 Points
366 Views
1 Endorsement
Last Modified:
Experience Level: Beginner
4:04
Terry Woods
IT consultant and specialist in WordPress website management
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
Author:Terry Woods
0 Comments

Featured Post

Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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.
An EE member wants to move all open windows at once (not one window at a time) from a primary monitor to a secondary one by pressing a hotkey. Bonus: another hotkey that goes in the other direction — move all windows from the secondary to the primar…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month