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

replace or remove string

$
0
0

Hi All,

I need help 

$string= "tototo.titi"

i need to remove .titi 

i can get hellohellohellolqwertyazerty.titi

so i need to remove all after .*

but if i do this 

$string.replace('.*','')

it doesn't work 

Any help 

Regards,

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles