Need help with sed please

hi all,

I have a problem where I need to remove the first word followed by the semicolon as well

for example here

mark;8;y;1;y;1298765;class;post;mail;virtual;admin;y;michigan;usa
carl;7;y;2;n;4009872;class;post;web;virtual;user;y;california;usa

to this

8;y;1;y;1298765;class;post;mail;virtual;admin;y;michigan;usa
7;y;2;n;4009872;class;post;web;virtual;user;y;california;usa

same file

Im very new to sed and it pretty much confuses me and Im kinda like need to this urgently so, can anyone help me please?, thank you very much, :smiley: really appreciate it

This is not encouraged here :slight_smile:

Try this,

sed 's/[A-Za-z]*;//' filename

using Perl:

perl -pi -e 's/^(.*?);//' filename

Woops, my bad, thanks :smiley: