Regular expressions
Posted
by Infinity
on Stack Overflow
See other posts from Stack Overflow
or by Infinity
Published on 2010-04-17T08:23:04Z
Indexed on
2010/04/17
8:33 UTC
Read the original article
Hit count: 311
regular-expression
Hello guys!
I need a regular expression for findin a pattern.
This is the pattern:
id|name|code|mobile
I created a pattern for this if I want to search by id (if id = 1):
.*1.*|.*|.*|.*
But it matches every pattern that contains number 1. What's the problem with it?
© Stack Overflow or respective owner