Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
How to write matching pattern for multi-line HTML tag ?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Nick of course, post: 4819838"] I find it hard to believe that this regex could ever do anything useful. The /x modifier does nothing cos there's no spaces to ignore The /i modifier is redundant cos there's no alphas in the regex You need the /s modifier to operate on multiline strings The | used for alternation is escaped so you're looking for a literal | Try something like s/<.*?>// [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
How to write matching pattern for multi-line HTML tag ?
Top