| Topic: |
Author: |
Time: |
|
Word search usin Regexp
|
vipul Sathavra
|
18.09.2009 11:31
|
|
i want to search two word in string,so the second word is come away from 20 word or less from first word.
somthing like:
dog........(20 word with . , '' : number and other char).........Food
or
Food........(20 word with . , '' : number and other char).........Dog
please understand this and give some Reg Exp solution
thank you,
|
|
help! what regex will not allow Email format like this "yaho
|
Leary Tenorio
|
24.11.2008 07:50
|
|
but will allow
yahoo@yahoo.co
yahoo@yahoo.co.ph
yahoo@yahoo.com
yahoo@yahoo.com.ph
|
|
RE: help! what regex will not allow Email format like this \
|
Nirmal Shah
|
29.12.2008 14:38
|
|
[Yy][\w]{4}\@[Yy][\w]{4}\.[\w\.]+
> but will allow
>
> yahoo@yahoo.co
> yahoo@yahoo.co.ph
> yahoo@yahoo.com
> yahoo@yahoo.com.ph
|
|
RegEx Required...
|
Nirmal Shah
|
11.11.2008 16:57
|
|
I am not able to write RegEx for following string to catch...
IT_Manager_R&D_Division
I wanted catch following from above line.
IMRD
and wanted to ignore other parts.
|
|
what about usage of < and > assertion characters?
|
Grzegorz Patynek
|
06.10.2008 13:45
|
|
what about usage of < and > assertion characters?
|
|
another great regexp tool
|
S Church
|
01.03.2005 16:16
|
|
There's a free-as-in-beer development environment for Windows called HTML-Kit that's just great for writing scripts and web code. The Find or Find / Replace functions have a check box for Regexps, with a "Find All" button to highlight every instance matched by a regexp. The only drawback is that it assumes /is (case insensitivity and multiline).
VisualREGEXP mentioned in the article says it has no required supporting files, that the standalone executable is all that's needed. However, most Windows machines don't have the TCL/TK component "wish," which the README file claims is necessary for operation. Wish might be available somewhere online as a precompiled binary without having to install all of TCL/TK, but I'm not motivated enough to google it at the moment.
|
|
Email match
|
David Robarts
|
15.01.2005 22:45
|
|
Some valid email addresses will fail this expression (and some invalid addresses pass).
[a-z0-9_-]+(.[a-z0-9_-]+)*@[a-z0-9_-]+(.[a-z0-9_-]+)+
The underscore character is not allowed in the domain part of the email address and some additional characters are allowed in the username part.
This might be better:
[a-z0-9_-]+(.[a-z0-9_-+]+)*@[a-z0-9-]+(.[a-z0-9-]+)+
|
|
RE: Email match
|
Nirmal Shah
|
11.11.2008 17:00
|
|
Majority of time we are using following regex for emails..
[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}
Try this.
> Some valid email addresses will fail this expression (and
> some invalid addresses pass).
>
> [a-z0-9_-]+(.[a-z0-9_-]+)*@[a-z0-9_-]+(.[a-z0-9_-]+)+
>
> The underscore character is not allowed in the domain part
> of the email address and some additional characters are
> allowed in the username part.
>
> This might be better:
>
> [a-z0-9_-]+(.[a-z0-9_-+]+)*@[a-z0-9-]+(.[a-z0-9-]+)+
|
|
can't see the graphic
|
x x
|
02.11.2001 01:59
|
|
I can't see the graphic towards the bottom to demonstrate the usage of < >
|