Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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,



Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2016-06-26 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (329 votes). Check out past polls.