Regular Expressions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I have created a regex for the below smb URLs

smb://ab-03.nea.nl/RegSec/Arch2006/Wanders/
smb://ab- 03.nea.nl/RegSec/Arch2006/Wdivers/
smb://ab-03.nea.nl/RegSec/Arch2006/Wofferte/
smb://ab-03.nea.nl/RegSec/Arch2006/Wrapport/
smb://ab-03.nea.nl/RegSec/Arch2005/Wanders/
smb://ab-03.nea.nl/RegSec/Arch2005/Wdivers/
smb://ab- 03.nea.nl/RegSec/Arch2005/Wofferte/
smb://ab-03.nea.nl/RegSec/Arch2005/Wrapport/

regex:^smb://ab-03.nea.nl/RegSec/Arch200[0-9]+/W[a-z]+/$

is there a way to check whether my regex is valid and I am sure i am missing something. Please correct me if my regex is wrong.

Thanks in Advance.

Thanks and Regards,

Kaushal

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux