I would like to remove <bpt *>*</bpt> and <ept *>*</ept> from the following string without using an XML parser.
The big <bpt i="1" x="1" type="bold"><b></bpt>black<ept i="1"></b></ept> <bpt i="2" x="2" type="ulined"><u></bpt>cat<ept i="2"></u></ept> sleeps.
Any regex in VB.NET or C# will do.
I presume you want to drop the tag entirely.
(<bpt .*?>.*?</bpt>)|(<ept .*?>.*?</ept>)
If that is so, then the ? after the * makes it non-greedy, so it will try to match as few characters as possible.
Try this code Snippet I found here: https://social.msdn.microsoft.com/Forums/en-US/27a8b7a8-8071-4bc1-bbd4-e7c1fc2bd8d7/windows-10-iot-core-how-do-you-create-a-tcp-server-and-client?forum=WindowsIoT
We basically want to make our device ...READ MORE
You might want to try instead to ...READ MORE
Something like a ModBerry might just be ...READ MORE
No, I don't believe there is. The code ...READ MORE
Have you tried using powershell right after ...READ MORE
On Windows IoT you have to use Windows.Devices.SerialCommunication namespace ...READ MORE
If this object is eligible for garbage ...READ MORE
Finding the mac-address would probably work. Basically, ...READ MORE
Orion in itself has no such mechanism ...READ MORE
Already have an account? Sign in.