View Full Version : using 'intro' in RegExp

05-28-2005, 11:47 AM
hi, is possible to create a regular expression, who will match entire, but return only a part of a string given?

mystring = 'yiha(whatever)';

-i would like, i.e., only extract whatever is written in a between '(' and ')', but if followed with a word 'yiha'


Willy Duitt
05-28-2005, 03:19 PM
You can try working with this regular expression...

<script type="text/javascript">
var mystring = 'yiha(whatever)';


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum