Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Extract usernames from textfile

$
0
0

Hi!

I often get emails or text files that contains usernames spread around, and I would like a simple powershell/regex way to extract out all usernames (and only the usernames) in my text.

Our usernames is on the form 3 letters + 3 digits, e.g. abc123, hed478 and so on.

Thanks!

Trond Jenssen

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles