Try your regex with online tools, what you need is simple "kausik-(\d+)"

http://www.gethifi.com/tools/regex

http://regexpal.com/

http://nregex.com/nregex/default.aspx



2012/1/10 Kausik Bakshi <[email protected]>

> I am very new in javascript
>
> and I want a regular expression for
>
> kausik-543678
>
> here kausik-   is fixed
> and
> the next integer field is dynamic
>
> I am trying to form a regular expression for
> kausik-123456 or kausik-45765677367567 or kausik-64747
>
> please help
>
> Thanks in Advance
> Kausik
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
Fernando Almeida
www.fernandoalmeida.net

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to