Thread: Regex examples
View Single Post
Old 07-27-2017, 12:36 PM   #531
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,441
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
I have tried [0-9]+<b>Page 3</b><br>
<hr/>
<a id="[0-9]+">
Something along the lines of this should produce better results. But please test well; I'm winging this fairly blind (and am guessing that you want to remove ALL page numbers encountered)

Code:
<b>Page \d+</b><br>
<hr/>
<a id="p\d+">
DiapDealer is offline   Reply With Quote