On Mon, Jun 9, 2008 at 8:07 PM, Graham Anderson <[EMAIL PROTECTED]> wrote:
> Hi
>
> How can I convert the regular expression:
> (.*?)
> into a pattern that PHP will accept?
[snip!]
Change this:
$pattern='(.*?)';
To this:
$pattern='/(.*?)<\/p>/Uis';
This adds the delimiters (/) to th
I needed to add the ~ character as a delimiter. So, the below now works
$pattern='~(.*?)~';
G
Hi
How can I convert the regular expression:left:\s+(\d+)px;">(.*?)
into a pattern that PHP will accept?
I am getting the error:
Warning: preg_replace() [function.preg-replace]: Unknown modifier
Hi
How can I convert the regular expression:\s+(\d+)px;">(.*?)
into a pattern that PHP will accept?
I am getting the error:
Warning: preg_replace() [function.preg-replace]: Unknown modifier '('
in /Library/WebServer/Documents/tamagotchi/runtime/content/js/tiny_mce/
examples/tinymce_regex
3 matches
Mail list logo