View Single Post
Old 07-19-2014, 06:26 PM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
If you know absolutely that you want to remove the first 4 characters no matter what they are then:

Search: ^....(.*)
Replace: \1

Voila. The search regexp says "Anchored at the beginning, accept 4 of any character, then keep the rest in the first group". The replacement says "replace everything with the first group". The key to make this work is the "^", which says that the regexp *must* start at the beginning of the value.
chaley is offline   Reply With Quote