[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do I filter an annoying posting style? There's an

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 12
Thread images: 2

File: 1472341178080.jpg (397KB, 724x1212px) Image search: [Google]
1472341178080.jpg
397KB, 724x1212px
How do I filter an annoying posting style?

There's an annoying poster on a board I frequent who replies while removing the >>

Is there a way to filter certain numbers that aren't proceeded with >>

Thanks
>>
@308079
there is, you can add a regex pattern to filter comments with numbers larger than a certain amount (so "regular" comments with "12" or "69" in them dont get filtered)
something like
>[0-9]{6}
should work (although i might be wrong i dont even have js turned on in this god forsaken place)
gl

>:^)
>>
308079
308144
damn, forgot a comma after that 6
>[0-9]{6,}

>:^)
>>
>>308147
>>308144
How exactly does this work?

If I copy

>[0-9]{6,}

Does that filter numbers bigger than 6 digits?
>>
__VVVVV__
>>308173<<
__/\/\/\/\/\/\__
it should filter any combination of digits with 6 or more characters. so 900000, 000001, and 654987321321 should match, but 324 should not
but im just now noticing that i completely forgot to not block legit quotes, so making it
>^[0-9]{6,}$
should fix it
>>
also, and i shouldnt need to say this, dont include the initial meme arrow in the formula
>>
File: 1474677845952.jpg (95KB, 665x1080px) Image search: [Google]
1474677845952.jpg
95KB, 665x1080px
>>308260
Thanks a lot!
>>
>>308260
^[0-9]{6,}$
That's the part i need right? Doesn't seem to work
>>
>>308300
looks like the filter doesnt play along quite right with regex
>/^[0-9]{6,}/
seems to work though
and yes, dont include the "quote mark"
>>
>>308300
the $ represents the end of the line so this fails if there is anything after the number
>>
308320 :^)
/me knows but somehow i cant get it to work (and it should work, or maybe im overlooking something)
guess op will have to hope no one writes anything after the "postnumber"
>>
>>308320
Whoa thanks that works! If you do respond i won't be able to see it!
Thread posts: 12
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.