|
-
Aug 21st, 2002, 07:43 AM
#1
Thread Starter
Hyperactive Member
find characters that between
How can solve this problem.
________________________
I want code to test if there are any of this characters "+" or ":" or "(" or ")" or "&" between [wor] and [/wor] and give me true else false.
for example(s):
$text="hi [wor] : [/wor] bye"; // output >> true
$text="hi [wor] & how + [/wor] bye"; // output >> true
$text="hi [wor] can ( [/wor] bye"; // output >> true
$text="hi [wor] ) [/wor] bye"; // output >> true
$text="hi ) [wor] you [/wor] bye + & "; // output >> false
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|