Thread: Regex examples
View Single Post
Old 12-05-2014, 07:32 AM   #443
rubeus
Banned
rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.
 
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
Quote:
Originally Posted by eschwartz View Post
Code:
,</(i|b|others)></p>\s+<p><\1>
Thanks, and i will read this chapter

Quote:
Originally Posted by eschwartz View Post
Actually, you might want to think of matching tags with attributes as well.

Code:
,</(i|b|others)></p>\s+<p( .+)?><\1>
To be honest, i'm doing that, but was too lazy to write this down in my example
rubeus is offline   Reply With Quote