Variables in regular exp

Discussion in 'Javascript' started by Gandalf, Oct 11, 2007.

  1. Gandalf

    Gandalf Guest

    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
     
    Gandalf, Oct 11, 2007
    #1
    1. Advertising

  2. Gandalf

    Gandalf Guest

    On Oct 11, 1:43 pm, Gandalf <> 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
     
    Gandalf, Oct 11, 2007
    #2
    1. Advertising

  3. Gandalf

    Gandalf Guest

    On Oct 11, 2:30 pm, Gandalf <> wrote:
    > On Oct 11, 1:43 pm, Gandalf <> 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
     
    Gandalf, Oct 11, 2007
    #3
  4. Gandalf

    Evertjan. Guest

    Gandalf wrote on 11 okt 2007 in comp.lang.javascript:

    > On Oct 11, 2:30 pm, Gandalf <> wrote:
    >> On Oct 11, 1:43 pm, Gandalf <> 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)
     
    Evertjan., Oct 11, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Rowland

    Reg exp: matching relative path only.

    Andrew Rowland, Aug 2, 2003, in forum: Perl
    Replies:
    0
    Views:
    1,161
    Andrew Rowland
    Aug 2, 2003
  2. afds

    Regular Exp

    afds, Oct 31, 2003, in forum: Python
    Replies:
    4
    Views:
    451
  3. Replies:
    9
    Views:
    1,015
  4. Jayan Jacob
    Replies:
    4
    Views:
    110
    Sandor Szücs
    Jul 15, 2008
  5. stratus

    Multiple Match of regular exp...

    stratus, May 6, 2005, in forum: Perl Misc
    Replies:
    5
    Views:
    118
    John W. Krahn
    May 6, 2005
Loading...

Share This Page