How to remove before first character dot in every lines
i have list
nsa.dc.examplexa1.com
a1.nsb.kc.examplexb1.net
km.b2.ns1.xc.examplexx1.club
cx.xq.c3.nsx.1c.examplexm1.org
d4.ns22.fc.examplexv1.shop
bxa.akk.nscx.xc.examplexk1.store
nsdb.dm.examplexj1.tv
i want to remove first before character dot
dc.examplexa1.com
nsb.kc.examplexb1.net
b2.ns1.xc.examplexx1.club
xq.c3.nsx.1c.examplexm1.org
ns22.fc.examplexv1.shop
akk.nscx.xc.examplexk1.store
dm.examplexj1.tv
Thankyou
>Solution :
The character ^ matches from the beginning of the line, so the search should start with that. You can then use [^.] (where in this context ^ means "not") to match non-dot characters.
Putting this together, search for ^[^.]+\. and replace with nothing.
That means: match one or more non-dot characters, followed by a dot, at the beginning of a line.