Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Simple Regular Expression

$
0
0

Hello,

i am new to regular expressions and have a very simple newbie question.

I want to catch a certain number of characters after a certain string and delete them:

<li> 1. Example text

<li> 2. Example text

I have a long list and need to take the 1. and 2. etc. out.

How can I adress it that the three characters after <li> are deleted no matter what is written there?

Thanks for you help


Viewing all articles
Browse latest Browse all 8156


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>