Parsing Word docs with PowerShell-- how to ignore strikethrough text?

Hello! I am parsing a large number of user-generated Word docs with PowerShell and making good progress. Unfortunately, one method users use to markup these files is strikethrough formatted text.

Is there any way to make PowerShell aware of text formatted like this, so that it can be ignored/skipped in the string being processed?

If not, does anyone know the best way (with no additional software beyond Windows and Office) to programmatically remove all strikethrough formatted text from numerous Word docs? Thanks!

Edit: Credit to /u/Abax378 for the following, cheers!

ForEach ($Word in $CurrentParagraph.Range.Words){
if ($Word.Font.StrikeThrough) 
{ #Action }
πŸ‘︎ 5
πŸ’¬︎
πŸ“…︎ Jan 13 2022
🚨︎ report
Strikethroughs...
πŸ‘︎ 555
πŸ’¬︎
πŸ‘€︎ u/singletonking
πŸ“…︎ Dec 10 2021
🚨︎ report
My new complete estimate of the Blind Bat quarter strikethrough progression. Any future discoveries can be placed somewhere in this timeline. The 17 coins from the original Boston coin roll are marked in red.
πŸ‘︎ 66
πŸ’¬︎
πŸ‘€︎ u/qdotbones
πŸ“…︎ Oct 30 2021
🚨︎ report
I recently updated my Versa three and now I keep seeping this phone with strikethrough. What is this?!? TYIA
πŸ‘︎ 39
πŸ’¬︎
πŸ‘€︎ u/puddinpiesez
πŸ“…︎ Nov 21 2021
🚨︎ report
I forgot how to do the strikethrough thingy for comments

:<

πŸ‘︎ 8
πŸ’¬︎
πŸ“…︎ Dec 26 2021
🚨︎ report
Strikethroughs...
πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/nekollx
πŸ“…︎ Dec 10 2021
🚨︎ report
Animated strikethrough of Text

Hey guys,

For an app I'm building I want to create an animation that stakes through text, in a similar fashion like this example: https://dribbble.com/shots/3721754-Done-Project-Management-Services , but I wan't it to just strike through from left to right.

I have very limited experience with animation, and I don't really know how to start this and don't find any other tutorials.

My initial ideas was to use a ZStack and display a horizontal line that goes from left to right above the text. I also thought about using the .strikethrough() property for Text("Hello world"), and start from sticking through 0...1 to 0...N after another so that it will look like a continuous motion, but I fear it won't look smooth.

I would be really happy if you could point me in any directions or give some tips on how to do this in swiftui. ☺️

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/friend_of_kalman
πŸ“…︎ Dec 30 2021
🚨︎ report
I’m a WhatsApp genius and I found hidden codes you can text to unlock features | he's referring to mark up for bold/italic/strikethrough text; mark up that is near identical to what Reddit uses. archive.md/fxESq
πŸ‘︎ 46
πŸ’¬︎
πŸ‘€︎ u/FollyAdvice
πŸ“…︎ Nov 24 2021
🚨︎ report
if a strikethrough zombie hits two teamed-up garlics, does it move left twice?

title. the answer is probably yes but ive never seen it happen in game. would be cool to see

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/pookieblasterr
πŸ“…︎ Dec 23 2021
🚨︎ report
I formatted the first link to strikethrough because of a spelling error, but it does not show as such in the app. It works on the desktop site. I never use the official app so wouldn’t know if it works there.
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/jesushatedbacon
πŸ“…︎ Nov 25 2021
🚨︎ report
Fun Fact: Searching "strike" in the collection shows both Strikethrough and Bullseye cards, because Bullseye used to be called Truestrike!
πŸ‘︎ 187
πŸ’¬︎
πŸ‘€︎ u/Crafty-Puddle
πŸ“…︎ Oct 08 2021
🚨︎ report
Strikethrough
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Beer-z
πŸ“…︎ Nov 17 2021
🚨︎ report
This Ketchup Mechanic breaks my entire perception of the game. It didn’t even use its ability when played, but it also for some reason did strikethrough damage to me. Can anyone explain? reddit.com/gallery/qhqqt9
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/jEk00001
πŸ“…︎ Oct 28 2021
🚨︎ report
Here is the full list (so far). Let me know if I have anything misspelled or have any repeats. I'll be updating this post if you comment new ones, and I will be adding strikethrough's on ones I finished. I'll also be making weekly progress updates (going to be posting the first one here soon).

Letters A through S in this body, and letters T-Z in the pinned comment since reddit has a character limit.

.hack//sign !!!

3D Kanojou: Real Girl

5 Centimeters Per Second

7 Seeds

86

91 Days

A Certain Magical Index

A Certain Scientific Railgun

A Sister’s All You Need

A Whisker Away (movie)

A letter to Momo (movie)

A place further than the universe

ACCA: 13-Territory Inspection Department

AKB0048

Accel World

Accendace of a Book worm

Ace of Diamond

Actually I am

Adachi and Shumamura

arifureta from commonplace to world’s strongest

Afro Samurai

After the Rain

Air

Air Gear

Ajin

Akame ga kill

Akashic Records of Bastard Magic Instructor

Akikan!

Akira (movie)

Aku no Hana

Akudama Drive

Aldnoah Zero

Amagi Brilliant Park

Angel Densetsu

Angel beats

Angelic Layer

Angels Egg (movie)

Angels of Death

Another

Ao-Chan Can’t Study

Argento Soma

Aria the Animation

Arlsan Senki

Armitage III

Arpeggio of Blue Steel

Ashita no Joe

As Long As There's Love, it doesn't matter if he is my brother right?

Assassins Pride

Assault Lily: Fruits (may need to use fansubs)

Astra Lost In Space

Attack on Titan

Awakawa under the bridge

Azumanga Daioh

B: The Beginning

BNA

Babylon

Baby Steps

Baccano

Backstreet Girls Gokudolls

Baka and Test

Bakemono no ko (movie)

Baki

Bakuman

Balance Unlimited

Ballroom E Youkoso

Banana Fish

Bananya

Bartender

Basilisk

Beastars

Beautiful Bones

Beck

Bed and Breakfast for Spirits

Beezlebub

Belladonna of Sadness (movie)

Ben-to!

Berserk 1997 version

Bessatsu Olympia Kyklos

Beyond the Boundaries

Big O

Bikini Warriors

Birdy the Mighty: Decode

Black Butler

Black Clover

Black Lagoon

Blade of the immortal (2017)

Bladedance of Elementalers

Blassreiter

Blood C

Bloom Into You

Blue Exorcist

Blue Flames (movie)

Blue Spring Ride

Blue period

Boarding School Juliet

Bodacious Space Pirates

Bokurano

Bokutachi no Remake

Boogiepop wa Warawani (2019)

Break Blade

Btoom!

Bubblegum Crisis

Bungo Stray Dogs

Busou Renkin

By the grace of the gods

Campione

Candy Boy

Cannon Busters

Captain Tsubasa

CardCaptor Sakura

Carole & Tuesday

Case Closed

Castle In The Sky (Movie)

Castlevania

Cat Soup

Cautious Hero

Cells at Work

Chainsaw man

Charlotte

Cheeky Angel

Children Who Chase Lost Voices

Chi's Sweet Home: Chi's New Address

Chihayafuru

Chivalry of a Failed Knight

Chobits

Citrus

City Hunter

Classroom Crisis

Classroom of the Elite

Claymore

Clean Freak Aoyam

... keep reading on reddit ➑

πŸ‘︎ 47
πŸ’¬︎
πŸ‘€︎ u/DeliveryDivergent
πŸ“…︎ Aug 09 2021
🚨︎ report
How can I underline / strikethrough text in dwms bar

I'm trying to strikethrough my volume percentage if my laptop is muted and while it does work in the terminal via echo "\e[9m$(amixer -c 1 | grep -m6 -P -wo "\d{1,3}%" | sed 1,5d)\e[0m"
It does not show in the bar. Is this functionality missing and do I need to patch it?
If so, does this patch already exist or would I need to code it?

Thank you for your answers

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Vox1z
πŸ“…︎ Nov 29 2021
🚨︎ report
Failed to recognize a link in comment due to strikethrough

A comment I wrote includes a link formatted like this escaped format: [~~text~~](http://localhost:8000)

rif does not recognize the link and just displays the strike through text without anything of the URL. Dark mode old.reddit.com visually shows the same format but does correctly hyperlink the text. RES identifies the link. New reddit correctly shows that the text is both strike through and a hyperlink.


Fill out the following information on each line that has an A:

Q: RiF Version Number:

A: 5.1.28

Q: Version of Android:

A: 11

Q: Device Information:

(Example: Manufacturer, Model, Year, etc.)

A: Samsung SM-G970U1

Q: How long has the problem been happening?

A: first noticed today

Q: What have you already tried doing to fix the problem?:

A: nothing

Q: What steps, if any, can you do to reproduce the problem?

(Please include a link to a post causing the problem.)

A: https://www.reddit.com/r/FinalFantasy/comments/qc18cv/z/hhd3n8g

There are seven links in that comment. rif is only recognizing six. Link three ("JP") is not recognized.

I am not sure if the issue is because the entire text is strike through or if the problem is any strike through.

πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/swxrice
πŸ“…︎ Oct 20 2021
🚨︎ report
e LATIN LOWERCASE LETTER C WITH COMBINING STRIKETHROUGH
πŸ‘︎ 72
πŸ’¬︎
πŸ‘€︎ u/noneuclidean_
πŸ“…︎ Sep 24 2021
🚨︎ report
strikethrough wont work on impact font so had to improvise (repost because it keeps not showing up) reddit.com/gallery/nd2xyy
πŸ‘︎ 3k
πŸ’¬︎
πŸ“…︎ May 15 2021
🚨︎ report
Strikethrough hell
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/big_pickle69
πŸ“…︎ Oct 02 2021
🚨︎ report
This is a deck using bullseye + strikethrough, and it’s an aggro deck. Any suggestions?
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/Yeet-able
πŸ“…︎ Oct 24 2021
🚨︎ report
How do I strikethrough text?

Does anyone know how to use the CSS and HTML tools on Wix to code a strikethrough text? I've been racking my brain trying to figure out how this works, but I don't know any code.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Ennaljeeh
πŸ“…︎ Nov 21 2021
🚨︎ report
tmux, neovim and strikethrough text. How?

So, I just realized that strikethrough text inside my neovim is not working. After doing some digging I found that tmux is not rendering the strikethrough text. Without tmux strikethrough text is rendering just fine. I tried to follow this issue on github and added set -as terminal-overrides ',xterm*:smxx=\E[9m' to tmux conf but no luck. BTW I am using kitty. Please can anyone guide me on how to achieve strikethrough text with tmux and neovim?

https://preview.redd.it/14lw463ll1p71.png?width=1904&format=png&auto=webp&s=f2587262762d8fe62cd5e9c86e4ae523c02ed8a2

Edit: Solution https://www.reddit.com/r/tmux/comments/pt5sxb/comment/hduq6ft/?utm_source=share&utm_medium=web2x&context=3

After fixing this is how it looks :)

https://preview.redd.it/q3o2ime7u2p71.png?width=723&format=png&auto=webp&s=c6747564c7715a86f00178f67a0dcc2a447a5ea6

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/realvikas
πŸ“…︎ Sep 22 2021
🚨︎ report
SWF Hand-and-a-Half weapons and Strikethrough

I know you can’t take SWF feats and THF feats at the same time, but I was curious if you benefit from PTHF while SWF with a Bastard Sword or Dwarven Axe and nothing/orb/rune arm in the offhand.

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/PaxsMickey
πŸ“…︎ Sep 13 2021
🚨︎ report
A room is showing unavailable (strikethrough) even though there are no other meetings on any calendar (room or user)

I've seen this issue before but found it was an old reoccurring meeting causing the issue and resolved it. But this one is different in that there is NOTHING on the room's calendar or any user's calendar for that room. The room is simply auto-declining invites between the hours of 8am-9pm.

That is what lead me to believe it was an old meeting somewhere or a random conflict but I can't see it.

Is there a way to just nuke a room's appointments and re-add it easily? or another place to check I may be missing?

UPDATE: the originator of the meeting needed to remove and re-add the room.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/RideFastGetWeird
πŸ“…︎ Sep 23 2021
🚨︎ report
Anyway to have a the 'strikethrough and grey out' onetastic macro run automatically after checking a Todo box on a task?

As per the title, I don't want to have to run the macro manually after I check a check box. I would rather that when I check a todo task it will strikethrough and grey out automatically, and if I uncheck it, it will go back to it's original formatting.

πŸ‘︎ 8
πŸ’¬︎
πŸ“…︎ Oct 15 2021
🚨︎ report
Rank keyword#10: Strikethrough
πŸ‘︎ 29
πŸ’¬︎
πŸ“…︎ Jun 30 2021
🚨︎ report
Get strikethrough text in conky

Can anyone help me how to have strikethrough in conky

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Sleeping2Beauty
πŸ“…︎ Sep 26 2021
🚨︎ report
I feel particularly attached to this journal entry. Sorry for the handwriting and strikethroughs. reddit.com/gallery/p73ga2
πŸ‘︎ 31
πŸ’¬︎
πŸ‘€︎ u/recrewriting
πŸ“…︎ Aug 18 2021
🚨︎ report
Chasing something, not sure what. Wrinkles, tell me if this is nothing of importance and I'll humbly strikethrough the entire thing. Knights of New, hello and best wishes.

u/criand

u/atobitt

TL;DR: I had a fuzzy memory, so I chased it. Found/remembered: Barker Minerals Limited, and the Pro Long Strategy. I have no idea what do with it from here lol might be useless. I'm doing it anyways.

Full disclosure, I also emailed the company in question, and said this:

>Hello and I hope this finds you well,

>
>I'll begin by saying that I am no one special. I was just doing some researchΒ and found a few articles referencing Barker Minerals Limited, and a particular strategy, the "Pro Long Strategy," that is used for the "early detection of irregular trading patterns."

>
>What I found about PLS:
>
>"This is completed by accurately identifying which transactions are settled on a timely basis, settled by another broker, or never settled. Not only does PLS identify which brokerages are not settling as required, it also effectively identifies which brokerages are providing (lending or supplying) excess shares to other brokers which should otherwise have respectively been subtracted or added to their own individual holdings according to their net public market settlement activities."Β 
>
>I'm just wondering if you can tell me, who developed this strategy?
Is the formulaΒ still being improved upon, andΒ still used?

>
>Any information would be appreciated.

>
>Take care,
>
>X

================================================================================

THE POST

I felt like I'd forgotten something. It was a tweet of Dr.Susanne Trimbath's from a while ago.

She'd said something about a Canadian company? who had developed some strategy? for something to do with shorts, or failures to deliver? I couldn't put my finger on it. It was a funny fuzzy half-memory, but I couldn't get rid of it.

So I searched for it. First on google using these terms:

"Susanne Trimbath" " canadian" "calculate" "mining"

Google results, not much on page 1, https://imgur.com/jCK6GJH

so I searched on DuckDuckGo

here we see a link to a SuperStonk DD, DuckDuckGo https://imgur.com/dWoBuV0

BEFORE you click the SuperStonk link, the post and user account have been deleted, but the comments are st

... keep reading on reddit ➑

πŸ‘︎ 38
πŸ’¬︎
πŸ‘€︎ u/luckybirth
πŸ“…︎ Jul 03 2021
🚨︎ report
now someone else needs to do the Strikethrough Plagiarist
πŸ‘︎ 44
πŸ’¬︎
πŸ‘€︎ u/TheMazter13
πŸ“…︎ Sep 25 2021
🚨︎ report
Listed Prices and Strikethrough Prices of the new cosmetics
πŸ‘︎ 131
πŸ’¬︎
πŸ‘€︎ u/iSushi_xbl
πŸ“…︎ Apr 22 2021
🚨︎ report
~~strikethrough~~ ~~doesn't~~ ~~work~~

~~why~~

πŸ‘︎ 9
πŸ’¬︎
πŸ“…︎ Aug 03 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.