Regular expressions
| From: | Gerardo Rojas | Date: | Thu, 15 Jan 2004 17:16:00 +0000 |
| Subject: | Regular expressions | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22584@lists.php.net to get a copy of this message | ||
I have 2 regular expressions that work correctly. How do i combine them to work as 1 or 2
1: /^\d\{1,2}\.
2: /^\s\d\{1,2}\.
i want to replace any matching pattern with either regular expression. It would be nice if i could
put this in a single command. Currently i have this mapped to a Function Key "F2"
--
Gerardo S. Rojas
mailto: grojas@strategicinc.com