Skip to content

Commit f121009

Browse files
Create replace-wildcard-character-in-text-with-powershell.md
1 parent 70c62c7 commit f121009

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Replace wildcard (*) character in text with PowerShell
2+
3+
```
4+
# I need to remove that star
5+
$MyID = "AROA12334566778890:*
6+
$MyID = $MyID -replace ":\*",""
7+
8+
# output
9+
$MyID
10+
AROA12334566778890
11+
```

0 commit comments

Comments
 (0)