Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Remove before first character Notepad++

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

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading