Thread
:
regexp find and seperate custom tags in a string
View Single Post
#
3
(
permalink
)
Apr 23rd, 2008, 14:09
Chippo
New Member
Join Date: Apr 2008
Location: Stockport, UK
Age: 21
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: regexp find and seperate custom tags in a string
Hi
I tried what you suggested but couldn't seem to get it to work where do you put the [\s\S]?
Code:
Select all
var re = new RegExp("\{\{startcontent_\w{2,50}\}\}[\s\S]\{\{endcontent_\w{2,50}\}\}$/gi");
Chippo
View Public Profile
Find all posts by Chippo