|
|
Browse by Tags
All Tags » regex » preg_match_all
-
Hi all,
i have a question about regex. How can i use php preg_match_all to match all stuff inside custom tags, including any new lines.
the parsed text looks like this:
[article]
lorem ipsum dolor..
lorem ipsum dolor ...
lorem ipsum dolor ...
[/article]
expresion used for ignoring only one new line ...
-
Hi there,
After hours of searching i found nothing that worked. I've got the following string and i want to match all parts between single quotes. It has to deal with user input so the next example is valid: (the both outer double quotes are to show what the sentence is)
"hello world, this is a 'quoted string' using ...
|
|
|