7 pages: [1] [2] [3] [4] [5]
HostWeb Forums » Microsoft Server Operating Systems » microsoft.public.win2000.cmdprompt.admin » question about findstr

Topic: Re: question about findstr

Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/7/2008 7:46:45 AM

By: Pegasus \(MVP\)

"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?

Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx

RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406

Library of regular expressions
http://regexlib.com/Default.aspx



Replies below ↓

Replies

Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/7/2008 7:46:45 AM

By: Pegasus \(MVP\)

Re: question about findstr


"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?

Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx

RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406

Library of regular expressions
http://regexlib.com/Default.aspx



Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/7/2008 7:46:45 AM

By: Pegasus \(MVP\)

Re: question about findstr


"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?

Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx

RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406

Library of regular expressions
http://regexlib.com/Default.aspx



Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/7/2008 7:46:45 AM

By: Pegasus \(MVP\)

Re: question about findstr


"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?

Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx

RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406

Library of regular expressions
http://regexlib.com/Default.aspx



Reply | New Topic | This is SPAM | This is Offensive

Submitted: 5/7/2008 7:46:45 AM

By: Pegasus \(MVP\)

Re: question about findstr


"thinktwice" <memorialday@gmail.com> wrote in message
news:3ceb3ca3-df12-45ad-b2fa-65a8f5edfac1@v26g2000prm.googlegroups.com...
>i want to get the subversion revision number of my workingcopy.
> (subversion is something like vss or cvs)
>
> i find the revision number keeps in the "entries" file in the ".svn"
> dir, it's format like this:
> 8dirxxxxhttp://
> url...............................................................
> .......................................................................................
>
> i want to get the xxxx part , xxxx is a number. i think maybe it'll
> change the format a little,like change 8 to other higher number. so i
> want to search [1-9][0-9]*[a-z][1-9][0-9]* pattern. but i'm not
> familiar how to use regularexpression in findstr. is there advanced
> tutorial or example about how to use findstr?

Lots of stuff here:
Microsoft Beefs Up VBScript with Regular Expressions
http://msdn.microsoft.com/en-us/library/ms974570.aspx

RegEx workbench download
http://code.msdn.microsoft.com/RegexWorkbench/Release/ProjectReleases.aspx?ReleaseId=406

Library of regular expressions
http://regexlib.com/Default.aspx



Contents
Home
Forums
About Us
Contact Us
Web Hosting:
Hosting Providers
How to choose a name
What is a Hosting Provider
Hosting Types
Choosing the right plan
 
Search
 
Login to HostWeb.com
Email
Password
If you do not have an account with us yet, join now - it's FREE!