Regular expression

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

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

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

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

2012/1/10 Kausik B. [email protected]

I am trying to form a regular expression for

You received this message because you are subscribed to the Google G.
“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 A.