Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regular expression  RSS feed

Abhishek Dhama
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to extract strings consisting of alphanumeric characters from an expression of format <digit>.<digit>(<string>,<string>,<string> ) . Regular expression I am using is \\w+. But the problem is that although I get three strings but I am also getting second digit also which is not required.I guess I am somewhere wrong with forming the regular expression. It would be great if someone could point out the mistake.
Thanks in advance

[ August 04, 2004: Message edited by: Abhishek Dhama ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!