Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
sed 's/\([^:]*:[^:]*\):/\1 /g' /input/file
[white].[/white] [red],------------------------ substitute[/red]
[red]|[/red] [green],--------------- this[/green]
[red]|[/red] [green]______|_______[/green] [blue],--- with this[/blue]
[red]|[/red] [green]/ \[/green] [blue]/\[/blue] [fuchsia],- globally ( all occurrences )[/fuchsia]
sed '[red]s[/red]/[green]\([^:]*:[^:]*\):[/green]/[blue]\1 [/blue]/[fuchsia]g[/fuchsia]' /input/file
[olive]\____________/ ^[/olive]
[olive]|keep this|[/olive]
[olive]`---------'[/olive]
[red],--------------- start capture[/red]
[red]|[/red] [green],-----,------ character class[/green]
[red]|[/red] [green]_| _|[/green] [blue],-- end capture[/blue]
[red]/\[/red][green]/ \ / \[/green] [blue]/\[/blue],- literal ":"
[red]\([/red][highlight #cfc][green][[/green][maroon]^[/maroon]:[green]][/green][/highlight][teal]*[/teal]:[highlight #cfc][green][[/green][maroon]^[/maroon]:[green]][/green][/highlight][teal]*[/teal][blue]\)[/blue]:
[maroon]|[/maroon]| [teal]`---------- previous item 0 or more times[/teal]
[maroon]|[/maroon]`------------ literal ":"
[maroon]`------------- any character excepting the following ones[/maroon]