Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 7177

how do i remove capture from combo

by FastDelivery - 24 October, 2019 - 10:38 PM
This post is by a banned member (FastDelivery) - Unhide
1.021
Posts
137
Threads
5 Years of service
#1
title
[Image: vXMweB7.png]
 
This post is by a banned member (Kunaii) - Unhide
Kunaii  
Registered
51
Posts
5
Threads
5 Years of service
#2
(24 October, 2019 - 10:38 PM)Lucian Wrote: Show More
title

you can just do the replace thing in notepad, and replace it with nothing
DISCORDKunaii#8179
If you have any questions about me, askFiesta
This post is by a banned member (blackbull) - Unhide
blackbull  
Supreme
832
Posts
241
Threads
5 Years of service
#3
(This post was last modified: 24 October, 2019 - 10:41 PM by blackbull.)
use a combo parser

if u need one dm me on discord nopeAZU#0001
[Image: 8AL1QcE.png]
This post is by a banned member (FastDelivery) - Unhide
1.021
Posts
137
Threads
5 Years of service
#4
(This post was last modified: 24 October, 2019 - 10:45 PM by FastDelivery.)
(24 October, 2019 - 10:40 PM)Aotrx Wrote: Show More
(24 October, 2019 - 10:38 PM)Lucian Wrote: Show More
title

you can just do the replace thing in notepad, and replace it with nothing

Got 12k lines with different captures. the replace method won't work

(24 October, 2019 - 10:40 PM)Dayvx Wrote: Show More
when you remove duplicates it should remove the capture

Doesen't do the trick
[Image: vXMweB7.png]
 
This post is by a banned member (Ulysses) - Unhide
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.559
Posts
375
Threads
5 Years of service
#6
PowerShell yo.
 
Code:
$InputPath = "C:\temp\ComboWCapture.txt"
$OutputPath = "C:\temp\ComboNoCapture.txt"

$sw = New-Object System.IO.StreamWriter $OutputPath
$cnt = 0
foreach ($line in [System.IO.File]::ReadLines($InputPath))
{
    $cnt++
    if($cnt % 1000 -eq 0) #only show progress every 1000...more frequent progress updates will slow things down
    {
        Write-Progress -Activity "Processing File $InputPath" -Status "Current Line: $cnt"
    }
    $splitline = $line.Split('|')
    $sw.WriteLine(([string]$splitline[0]).Trim())
}

$sw.Close()
This post is by a banned member (FastDelivery) - Unhide
1.021
Posts
137
Threads
5 Years of service
#7
(25 October, 2019 - 05:03 PM)foxegado Wrote: Show More
PowerShell yo.
 
Code:
$InputPath = "C:\temp\ComboWCapture.txt"
$OutputPath = "C:\temp\ComboNoCapture.txt"

$sw = New-Object System.IO.StreamWriter $OutputPath
$cnt = 0
foreach ($line in [System.IO.File]::ReadLines($InputPath))
{
    $cnt++
    if($cnt % 1000 -eq 0) #only show progress every 1000...more frequent progress updates will slow things down
    {
        Write-Progress -Activity "Processing File $InputPath" -Status "Current Line: $cnt"
    }
    $splitline = $line.Split('|')
    $sw.WriteLine(([string]$splitline[0]).Trim())
}

$sw.Close()

I really want you to know that you're fucking great!
[Image: vXMweB7.png]
 
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.559
Posts
375
Threads
5 Years of service
#8
(25 October, 2019 - 06:14 PM)Lucian Wrote: Show More
I really want you to know that you're fucking great!

Lol.  No problem.  Glad I could help.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 6 Guest(s)