Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make a simplified regular expression

 
vanlalhmangaiha khiangte
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I got a regular expression (00|11|22|33|44|55|66|77|88|99)9[0-9]+
The pattern is what is needed.. Can i make it into a more simplified form ?

Thanks in advance
 
Anand Hariharan
Rancher
Posts: 272
C++ Debian VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look up "back references".

Perhaps something like is what you are looking for?

- Anand
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic