regex - Regular expression split and remove data -


i not specialist in regex , question may sound easy. have tab separated file thousands of columns , values in each column 2345:0 or 123:1

i remove before ":" , keep 1 or 0

can point me right regular expression can use see example ?

thank in advance

sounds in case simple replace of \d+: empty string do.

how done depends on tool. perl could:

perl -pe 's/\d+://g' file 

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -