Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Search and Extract from String

by hdb (Prior)
on Jun 29, 2013 at 08:25 UTC ( #1041424=note: print w/ replies, xml ) Need Help??

in reply to Search and Extract from String

It is much easier to build a regex, similar to the one you use to find "controlled", that looks for the sequence of the words "design" and "controlled" with either a space or a hyphen in between. A regex to match one character or another can be constructed using the pipe character. For example, (a|b) will match a or b,

Comment on Re: Search and Extract from String
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-11-27 22:15 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls