in reply to
Re^5: Regex Help
in thread Regex Help
How about "everything from pirates to careebian" ?
But what about if the wording of the OP changes? Then your solution would no longer be useful.
Correct! He would need to change the regular expression. But then I was not completely serious in my reply... (even though it works!)
One could also use variables in the regex like /($from.*$to)/.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (620 votes),