preg-match-all
PHP REGEX preg_match_all every line after a particular line
Here is the sample string with my regex and code: $str = \"Supp Fees: ---------- Oral Glucose Glucagon OXYGEN\";[详细]
2023-02-21 20:53 分类:问答Regular expressions PHP preg_match_all
Hi I am trying to use preg_match_all() to extract the number in bold out of an image URL... http://profile.ak.fbcdn.net/hprofile-ak-snc4/174844_39677118233_8277870_t.jpg[详细]
2023-02-20 12:03 分类:问答PHP preg_match_all() - What's wrong with my regex?
Here is a sample string: --------- SAY WHAAAAT MEDICS: CREW ID: PMD205304 CREW MEMBER ROLE: PRIMARY PATIENT CAREGIVER CREW MEMBER LEVEL: EMT-PARAMEDIC[详细]
2023-02-19 19:00 分类:问答php preg match all, all the `p`
<?php $str= <<<ETO <p>one two</p> <p>three</p> ETO; preg_match_all(\'/<p>(.*?)<\\/p>/\',$str,$r);[详细]
2023-02-19 04:02 分类:问答php preg regex - group of whitspaces without linebreak in multiline mode
Hello I am trying to split 开发者_StackOverflowsome input by line, and use trim() on each line. But I would like to do it without using trim, just with regex.[详细]
2023-02-18 17:55 分类:问答Regex PRCE PHP preg_match_all: How do remove empty nodes in matches array?
$text = \'Lorem Ipsum\'; $re = \'/(?<AA>Any)|(?<BB>Lorem)/ui\'; $nMatches = preg_match_all($re, $text, $aMatches);[详细]
2023-02-18 04:20 分类:问答how to use multiple preg_match with one foreach loop
I have multiple preg match expressions, and I\'m trying 开发者_JAVA百科to use each to output something different. I know how to use foreach to output one at a time. but how do I echo or set them a var[详细]
2023-02-17 06:39 分类:问答using preg_replace after getting content from preg_match with regexp
I\'m getting problems with my coding. I\'m trying to take out tags from my preg_match_all. I\'m still new and learning.[详细]
2023-02-17 03:48 分类:问答php REGEX match every line after a certain line [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: PHP REGEX preg_math_all every line after a particular line[详细]
2023-02-15 03:05 分类:问答PHP return preg_replace() inside of foreach?
hey, i have no idea what I\'m doing wrong. I have a regexp pattern that looks for a youtube url inside or [track=url].[详细]
2023-02-11 06:33 分类:问答