View Single Post
Old 10-12-2012, 05:50 AM   #7
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 1,147
Karma: 1511092
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Aura HD
Quote:
Originally Posted by anvarit View Post
Ok looked at the python expressions but I can't find a solution to a simple one.
For eg "name.01" and I want have everything behind the dot

found it, ".*\W" correct?
Yeah, that would work (because the dot is in \W). Something like ".*\." would work as well, by specifically escaping the dot and not treating it special.

With regexes, there are often more ways than one to get the result you want.
mbovenka is online now   Reply With Quote