Regex code,how to do this?

How to extract some specific names,words etc  from a big txt file  , ex.:

output
Adina
adina@123
adina#123
adina123456
Adina01
etc

i tried this but extarct also: .*[Aa]dina.*

madina
adina
ladina12
etc..
thank you
john lambertAsked:
Who is Participating?
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Add a beginning of the line character:
^[Aa]dina.*
1
 
Rgonzo1971Commented:
Hi,

pls try
\b[Aa]dina.*

Open in new window

Regards
1
 
john lambertAuthor Commented:
thank you, working perfect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.