Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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,




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

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 meditating upon the Monastery: (12)
As of 2015-07-07 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (90 votes), past polls