Thread: Regex examples
View Single Post
Old 03-06-2013, 10:57 AM   #210
ReaderRabbit
Member
ReaderRabbit began at the beginning.
 
ReaderRabbit's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
Quote:
Originally Posted by mzmm View Post
this should work.

Code:
(<p[^>]*>)(?:\s+)?([^]+?)(.*?)(?:\s+)?(</p>)

\1\2\3\4
Thanks so much! Don't know how you all figure this stuff out. It's way beyond me but I like my books to be as correct as possible.

I ♥ brainiacs
ReaderRabbit is offline   Reply With Quote