Help to find superscripts in .doc using regex C#

  • Thread starter Thread starter Ivan Raskatov
  • Start date Start date
I

Ivan Raskatov

Guest
Hello!

I tried many ways to find text with superscripts in doc file, but still I've failed.

Please, help. I need to find such text : 10<sup>6 </sup>

My regex work on test web sites, but not in C# code. I use VS 2017 .

I tried :

([0-9]+)([⁰¹²³⁴⁵⁶⁷⁸⁹]{0,})

(\p{No}{1,})

([0-9]+)([⁰¹²³⁴⁵⁶⁷⁸⁹]{0,})

([\u{2070}\u{B9}\u{B2}\u{B3}\u{2074}\u{2075}\u{2076}\u{2077}\u{2078}\u{2079}]{1,})

Thanks!

Continue reading...
 
Back
Top