Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Illuminations

( [id://1233718]=superdoc: print w/replies, xml ) Need Help??

Welcome to the Illuminations!

Here you will find questions (from the Seekers of Perl Wisdom section) which have been esteemed by our venerable monks to be exceptional.

These questions are organized with categories (tags, keywords).

These exceptional questions will likewise have one or more replies which have been deemed best.

When you're viewing the SoPW section, or the threaded view of a question, each exceptional question and its best replies are indicated with a nice golden star: ⭐

The users empowered to designate questions and answers as "exceptional" are the Q&A Editors group.

For further information, see the FAQ How are the Illuminations maintained?

Good Questions in categories (regular expressions)


Using constants in regexes? — 1⭐ / 4
how-to strip empty HTML tags like <b> </b> — 1⭐ / 5
Invert grep match with qr// variable — 1⭐ / 3
How do I validate an email address? — 3⭐ / 9
Apply regex to entire file, not just individual lines ? — 1⭐ / 6
How do I replace a URL with a clickable hyperlink? — 1⭐ / 5
how do i replace brackets in a regex? — 1⭐ / 3
How do I remove control characters? — 2⭐ / 4
Using RegExp with hashes and returning multiple values — 1⭐ / 2
How can I match a multi-line regexp? — 1⭐ / 4
How do I find the Nth occurrence of a pattern? — 2⭐ / 8
How do I escape metacharacters in a user-defined string? — 1⭐ / 2
How do I remove whitespace at the beginning or end of my string? — 9⭐ / 14
How can I split on a string except when inside quotes? — 1⭐ / 3
How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ? — 2⭐ / 4
How do I get what is to the left of my match? — 2⭐ / 3
How can I use backrefs in a lookbehind? — 1⭐ / 2
How do I match a number range? — 1⭐ / 12
Strip that XML! — 2⭐ / 8
How do I change .. to the real filename? — 1⭐ / 6
How do I escape meta-characters in a user-defined string? — 1⭐ / 1
How do I retrieve the position of the first occurrence of a match? — 1⭐ / 1
Subroutines in a regex? — 1⭐ / 3
How do I extract all text between two keywords like start and end? — 1⭐ / 7
What can regular expressions NOT do? — 5⭐ / 8
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2026-03-11 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.