preg_match("'<p class=\"review\">(.*?)</p>'si", $source, $match);
if($match) echo "result=".$match[1];
More Related Contents:
- I keep getting these kind of errors in terms of HttpUrlConnection and BackGroundTask in android
- Best XML Parser for PHP [duplicate]
- How to evaluate formula passed as string in PHP?
- preg_match(): Compilation failed: invalid range in character class at offset
- How to use XMLReader in PHP?
- How can I convert ereg expressions to preg in PHP?
- PHP preg_match to find multiple occurrences
- “Unknown modifier ‘g’ in…” when using preg_match in PHP?
- Is there a PDF parser for PHP? [closed]
- Parse HTML with PHP’s HTML DOMDocument
- Manually parse raw multipart/form-data data with PHP
- Optional Whitespace Regex
- How exactly is a PHP script executed?
- Parse a CSS file with PHP
- PHP CSV string to array
- preg_match(); – Unknown modifier ‘+’ [duplicate]
- How to solve JSON_ERROR_UTF8 error in php json_decode?
- Fastest way to retrieve a in PHP
- Warning: preg_match() [function.preg-match]: Unknown modifier ‘/’ [duplicate]
- PHP’s preg_match() and preg_match_all() functions
- Function eregi() is deprecated [duplicate]
- Parsing URL query in PHP [duplicate]
- Simplify PHP DOM XML parsing – how?
- PHP: Best way to extract text within parenthesis?
- How to search in an array with preg_match?
- How to validate a domain name using Regex & PHP?
- Regular expression preg_quote symbols are not detected
- What RSS parser should I use in PHP?
- PHP Version 5.2.14 / Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’
- Detecting a url using preg_match? without http:// in the string