Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Variables in regular exp

Reply
Thread Tools

Variables in regular exp

 
 
Gandalf
Guest
Posts: n/a
 
      10-11-2007
Hi every one,
first time i use regular exp with javascript.
i need to insert javascript variables into the the regular
expression.
how am i doing that?


thanks

 
Reply With Quote
 
 
 
 
Gandalf
Guest
Posts: n/a
 
      10-11-2007
On Oct 11, 1:43 pm, Gandalf <goldn...@gmail.com> wrote:
> Hi every one,
> first time i use regular exp with javascript.
> i need to insert javascript variables into the the regular
> expression.
> how am i doing that?
>
> thanks


not important i solved it by using new RegExp()

thanks

 
Reply With Quote
 
 
 
 
Gandalf
Guest
Posts: n/a
 
      10-11-2007
On Oct 11, 2:30 pm, Gandalf <goldn...@gmail.com> wrote:
> On Oct 11, 1:43 pm, Gandalf <goldn...@gmail.com> wrote:
>
> > Hi every one,
> > first time i use regular exp with javascript.
> > i need to insert javascript variables into the the regular
> > expression.
> > how am i doing that?

>
> > thanks

>
> not important i solved it by using new RegExp()
>
> thanks


I have another question. how can i write cookies with hebrew (or any
other language except enlish) string?

thanks

 
Reply With Quote
 
Evertjan.
Guest
Posts: n/a
 
      10-11-2007
Gandalf wrote on 11 okt 2007 in comp.lang.javascript:

> On Oct 11, 2:30 pm, Gandalf <goldn...@gmail.com> wrote:
>> On Oct 11, 1:43 pm, Gandalf <goldn...@gmail.com> wrote:
>>
>> > Hi every one,
>> > first time i use regular exp with javascript.
>> > i need to insert javascript variables into the the regular
>> > expression.
>> > how am i doing that?

>>
>> > thanks

>>
>> not important i solved it by using new RegExp()
>>
>> thanks

>
> I have another question. how can i write cookies with hebrew (or any
> other language except enlish) string?


Start a new thread, properly subject-ed.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
the Regular exp read from file not matching !! Jayan Jacob Ruby 4 07-15-2008 09:50 AM
Put variables into member variables or function variables? tjumail@gmail.com C++ 9 03-23-2008 04:03 PM
Multiple Match of regular exp... stratus Perl Misc 5 05-06-2005 08:57 AM
Regular Exp afds Python 4 10-31-2003 04:03 PM
Dynamically changing the regular expression of Regular Expression validator VSK ASP .Net 2 08-24-2003 02:47 PM



Advertisments