Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Regular expressions: Extracting certain text from a line

by Wcool (Novice)
on Apr 07, 2014 at 11:45 UTC ( [id://1081393]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     tag as the pseudo HTML is creating havoc on square brackets.
    <code>
    
    ...
    2)
    a[] = [ this is a [ test ] { test2 } ]
    Should return [ this is a [ test ] { test2 } ]
    
  2. or download this
    \[    <-  a square bracket
    .[^\/]  <- followed by any character but not an end bracket 
    +      <- at least one character
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1081393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-19 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found